Autodesk Vault ProfessionalVault API

UpdateFileLifeCycleStates Method

Autodesk.Connectivity.WebServicesDocumentServiceExtensions

Updates the life cycle state for a set of files.

Required Permissions

FileChangeLifeCycleState

Syntax

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

Parameters

NameDescription
fileMasterIdsThe master IDs for the files to update.
toStateIdsThe new state ID for the corresponding file.
commentThe comment for the new version of the file.

Return Value

The updated file objects.

Remarks

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

See Also