| VersionManagerEnsureVersionAttachmentsInternal Method  | 
            Ensures that the document attachments are present within the AttachmentHistory table.
            
 
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntaxprotected virtual void EnsureVersionAttachmentsInternal(
	TreeNode node,
	int versionHistoryId = 0
)
Parameters
- node
 - Type: CMS.DocumentEngineTreeNode
Document node - versionHistoryId (Optional)
 - Type: SystemInt32
Version history ID to which the attachment versions should be assigned. If not provided, latest version history ID from the given document is used. 
See Also