Autodesk Vault ProfessionalVault API

UpdateFileLifeCycleDefinitions Method

Autodesk.Connectivity.WebServicesDocumentServiceExtensions

Updates the life cycle definition and state for a set of files.

Required Permissions

FileChangeLifeCycleDefinition

Syntax

public override File[] UpdateFileLifeCycleDefinitions(
   System.long[] fileMasterIds,
   System.long[] toLCDefIds,
   System.long[] toStateIds,
   System.string comment
)
Public Overrides NotOverridable Function UpdateFileLifeCycleDefinitions( _
   ByVal fileMasterIds() As System.Long, _
   ByVal toLCDefIds() As System.Long, _
   ByVal toStateIds() As System.Long, _
   ByVal comment As System.String _
) As File()

Parameters

NameDescription
fileMasterIdsAn array of file master IDs.
toLCDefIdsThe new life cycle definition for the corresponding file.
toStateIdsThe new life cycle state for the corresponding file.
commentThe comment for the new version of the file.

Return Value

The updated file objects.

Remarks

All input arrays must be the same size. This operation creates a new file version.

See Also