RollbackToTargetFiles Method
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
| Name | Description |
|---|---|
| fileIds | ids of file Masters to which the rollback is to be applied to |
| maxCkInVerNums | Max 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.