VersionManagerDeleteOlderVersions Method |
Deletes older document versions to keep specified version history length.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public 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