Click or drag to resize
VersionHistoryInfoProviderGetRecycleBin Method
Gets recycle bin for specified user.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static ObjectQuery<VersionHistoryInfo> GetRecycleBin(
	int siteId,
	int userId = 0,
	string where = null,
	string orderBy = null,
	int topN = 0,
	string columns = null,
	Nullable<DateTime> modifiedFrom = null,
	Nullable<DateTime> modifiedTo = null
)

Parameters

siteId
Type: SystemInt32
ID of site
userId (Optional)
Type: SystemInt32
ID of user
where (Optional)
Type: SystemString
Where condition
orderBy (Optional)
Type: SystemString
Order by clause
topN (Optional)
Type: SystemInt32
Select only top N rows
columns (Optional)
Type: SystemString
Select only specified columns
modifiedFrom (Optional)
Type: SystemNullableDateTime
Lower time bound
modifiedTo (Optional)
Type: SystemNullableDateTime
Upper time bound

Return Value

Type: ObjectQueryVersionHistoryInfo
Recycle bin for specified user and site
See Also