Click or drag to resize
VersionManagerGetDocumentHistory Method
Returns the version history table for the specified document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public ObjectQuery<VersionHistoryInfo> GetDocumentHistory(
	int documentId,
	string where = null,
	string orderBy = null,
	int topN = 0,
	string columns = null
)

Parameters

documentId
Type: SystemInt32
Document ID
where (Optional)
Type: SystemString
Where condition
orderBy (Optional)
Type: SystemString
Order by clause
topN (Optional)
Type: SystemInt32
Top N attachments
columns (Optional)
Type: SystemString
Selected columns

Return Value

Type: ObjectQueryVersionHistoryInfo
See Also