ObjectVersionManagerCreateVersion Method |
Creates object version.
Namespace: CMS.SynchronizationAssembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
Syntax public static ObjectVersionHistoryInfo CreateVersion(
GeneralizedInfo infoObj,
int userId,
bool forceVersion = false
)
Parameters
- infoObj
- Type: CMS.DataEngineGeneralizedInfo
IInfo object instance - userId
- Type: SystemInt32
User that caused creation of object version - forceVersion (Optional)
- Type: SystemBoolean
Indicates if new version should be created instead of storing to existing one if possible
Return Value
Type:
ObjectVersionHistoryInfoSee Also