Autodesk Vault ProfessionalVault API

GetRevisionFileAssociationsByIds2 Method

Autodesk.Connectivity.WebServicesDocumentService

This method gets all files associations of a set of files by file ID. The returned files will point to the latest version within a revision.

Required Permissions

FileRead

Syntax

public FileAssocArray[] GetRevisionFileAssociationsByIds2(
   System.long[] fileIds,
   FileAssociationTypeEnum parentAssociationType,
   System.bool parentRecurse,
   FileAssociationTypeEnum childAssociationType,
   System.bool childRecurse,
   System.bool includeRelatedDocuments,
   System.bool includeHidden,
   System.bool dateBiased,
   System.bool releasedBiased
)
Public Function GetRevisionFileAssociationsByIds2( _
   ByVal fileIds() As System.Long, _
   ByVal parentAssociationType As FileAssociationTypeEnum, _
   ByVal parentRecurse As System.Boolean, _
   ByVal childAssociationType As FileAssociationTypeEnum, _
   ByVal childRecurse As System.Boolean, _
   ByVal includeRelatedDocuments As System.Boolean, _
   ByVal includeHidden As System.Boolean, _
   ByVal dateBiased As System.Boolean, _
   ByVal releasedBiased As System.Boolean _
) As FileAssocArray()

Parameters

NameDescription
fileIdsAn array of file IDs.
parentAssociationTypeAn array of file IDs.
parentRecurseThe types of parents to get.
childAssociationTypeThe types of parents to get.
childRecurseIf true, all levels of parents will be returned. If false, only the direct parents will be returned.
includeRelatedDocumentsIf true, all levels of parents will be returned. If false, only the direct parents will be returned.
includeHiddenThe types of children to get.
dateBiasedThe types of children to get.
releasedBiasedIf true, all levels of parents will be returned. If false, only the direct parents will be returned.

See Also