ObjectVersionManager.RollbackVersion Method |
Rollbacks object to specified version.
Namespace: CMS.SynchronizationAssembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
Syntaxpublic static int RollbackVersion(
int versionId,
bool processChilds = false,
bool createNewVersion = true
)
Parameters
- versionId
- Type: System.Int32
Version ID - processChilds (Optional)
- Type: System.Boolean
Indicates if child data should be roll-backed - createNewVersion (Optional)
- Type: System.Boolean
If true, new version after rollback is created
Return Value
Type:
Int32
See Also