Ensures that the document version history is present for the given document, returns the document version.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- node
- Type: CMS.DocumentEngine TreeNode
Document node
- nodeIsPublished
- Type: System Boolean
Document is published
- nodeDeletion (Optional)
- Type: System Boolean
Indicates if the version should be ensured for the recycle bin
- forceWorkflow (Optional)
- Type: CMS.WorkflowEngine WorkflowInfo
Workflow instance to force to apply
Return Value
Type: Int32Remarks
See Also