Click or drag to resize
VersionManagerDeleteOlderVersions Method
Deletes older document versions to keep specified version history length.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public string DeleteOlderVersions(
	int documentId,
	string siteName
)

Parameters

documentId
Type: SystemInt32
Document ID
siteName
Type: SystemString
Site name

Return Value

Type: String
Returns the version number of the last deleted version
See Also