Autodesk Vault ProfessionalVault API

GetFileAssociationRestrictionsById Method

Autodesk.Connectivity.WebServicesDocumentService

Gets any restrictions for setting dependencies between file versions.

Required Permissions

FileRead

Syntax

public FileAssocRestric[] GetFileAssociationRestrictionsById(
   System.long fileId,
   System.long[] dependFileIds,
   System.long[] attachFileIds
)
Public Function GetFileAssociationRestrictionsById( _
   ByVal fileId As System.Long, _
   ByVal dependFileIds() As System.Long, _
   ByVal attachFileIds() As System.Long _
) As FileAssocRestric()

Parameters

NameDescription
fileIdThe parent file.
dependFileIdsAn array of file IDs representing child dependencies that are not attachments. Input null if there are no dependencies.
attachFileIdsAn array of file IDs representing attachments. Input null if there are no attachments.

Return Value

An array of file association restrictions. If there are no restrictions, the return value will be null.

See Also