VersionManager EnsureVersion Method Kentico 8.0 API Reference
Ensures that the document version history is present for the given document, returns the document version.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineInt32
Remarks

The document is updated to the database, there is no need to update it after
See Also