VersionManagerDeleteOlderVersions Method |
Deletes older document versions to keep specified version history length.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntaxpublic void DeleteOlderVersions(
int documentId,
string siteName
)
Parameters
- documentId
- Type: SystemInt32
Document ID - siteName
- Type: SystemString
Site name
Return Value
Type:
Returns the version number of the last deleted version
See Also