Click or drag to resize
VersionManagerGetVersionAttachments Method (Int32, String, String, Boolean, Int32, String)
Returns the DataSet containing all the attachments for the given document version based on where condition and order by clause.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public ObjectQuery<AttachmentHistoryInfo> GetVersionAttachments(
	int versionHistoryId,
	string where,
	string orderBy,
	bool getBinary,
	int topN,
	string columns
)

Parameters

versionHistoryId
Type: SystemInt32
Document version history ID
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by clause
getBinary
Type: SystemBoolean
Indicates if binary data should be included
topN
Type: SystemInt32
Top N attachments
columns
Type: SystemString
Selected columns

Return Value

Type: ObjectQueryAttachmentHistoryInfo
See Also