Click or drag to resize
StagingTaskInfoProviderSelectTaskListInternal Method (Int32, Int32, String, String, Int32, String, Int32, Int32, Int32)

Note: This API is now obsolete.

Selects all the tasks with information on the count of the failed attempts and without the task data.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use method without 'totalRecords' parameter and get the total count value from returned object after its result.")]
protected virtual ObjectQuery<StagingTaskInfo> SelectTaskListInternal(
	int siteId,
	int serverId,
	string where,
	string orderBy,
	int topN,
	string columns,
	int offset,
	int maxRecords,
	ref int totalRecords
)

Parameters

siteId
Type: SystemInt32
Tasks site ID
serverId
Type: SystemInt32
Tasks server ID
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by clause
topN
Type: SystemInt32
Select top N rows
columns
Type: SystemString
Select only specified columns
offset
Type: SystemInt32
Index of first record to get
maxRecords
Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
totalRecords
Type: SystemInt32
Returns total records

Return Value

Type: ObjectQueryStagingTaskInfo
See Also