Click or drag to resize
ObjectVersionManagerRollbackVersion Method
Rollbacks object to specified version.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 10.0.0
Syntax
C#
public static int RollbackVersion(
	int versionId,
	bool processChilds = false,
	bool createNewVersion = true
)

Parameters

versionId
Type: SystemInt32
Version ID
processChilds (Optional)
Type: SystemBoolean
Indicates if child data should be roll-backed
createNewVersion (Optional)
Type: SystemBoolean
If true, new version after rollback is created

Return Value

Type: Int32
See Also