Autodesk Vault ProfessionalVault API

RollbackToTargetFiles Method

Autodesk.Connectivity.WebServicesDocumentServiceExtensions

Executes a file rollback to the specified target files "MaxCkInVerNum" in rolling back Files Lifecycle states

Required Permissions

"File Rollback LifeCycle State"

Syntax

public File[] RollbackToTargetFiles(
   System.long[] fileIds,
   System.int[] maxCkInVerNums
)
Public Function RollbackToTargetFiles( _
   ByVal fileIds() As System.Long, _
   ByVal maxCkInVerNums() As System.Integer _
) As File()

Parameters

NameDescription
fileIdsids of file Masters to which the rollback is to be applied to
maxCkInVerNumsMax Check In Version Numbers ("MaxCkInVerNum") of the target files to which the files are to be rolled back to

Return Value

new tip files

Remarks

The file "MaxCkInVerNum" of the target item should match the file returned in calling DocumentServiceExtensions.GetLifecycleRollbackTargetFiles otherwise a restriction will be thrown.

See Also