Autodesk Vault ProfessionalVault API

UpdateFileAssociationReferences Method

Autodesk.Connectivity.WebServicesDocumentService

Updates meta-data to an existing file association.

Required Permissions

FileCheckIn

Syntax

public void UpdateFileAssociationReferences(
   System.long[] fileIds,
   System.string[] fileVaultPaths,
   FileAssocParamArray[] associations
)
Public Sub UpdateFileAssociationReferences( _
   ByVal fileIds() As System.Long, _
   ByVal fileVaultPaths() As System.String, _
   ByVal associations() As FileAssocParamArray _
) 

Parameters

NameDescription
fileIdsAn array of parent Files.
fileVaultPathsThe Vault path for each parent file. The array or elements in the array can be null for cases where the parent path value on the association does not need to be updated.
associationsAn array of associations for each parent item. These objects should have the updated RefId and ExpectedVaultPath values. The other parts of the objects are ignored.

Remarks

This function cannot be used to create an association. It only updates the meta-data related to file resolution.

See Also