Autodesk Vault ProfessionalVault API

GetLifecycleRollbackTargetFiles Method

Autodesk.Connectivity.WebServicesDocumentServiceExtensions

Gets files for rolling back the specified files Lifecycle states.

Required Permissions

"Get File Rollback Lifecycle State Target"

Syntax

public FileRollbackStatus[] GetLifecycleRollbackTargetFiles(
   System.long[] fileIds
)
Public Function GetLifecycleRollbackTargetFiles( _
   ByVal fileIds() As System.Long _
) As FileRollbackStatus()

Parameters

NameDescription
fileIdsids of file Masters to which the rollback is to be applied to

Return Value

Returns the "target" files (and any Delete Restrictions)

Remarks

The files "MaxCkInVerNum" of the returned target files should be used in calling DocumentServiceExtensions.RollbackToTargetFile to execute the rollback If the target files lifecycle state definition has been deleted, is the None state, no previous lifecycle exists or the iteration is not a controlled iteration, a Restriction will be returned.

See Also