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