StagingTaskInfoProviderSelectDocumentTaskList Method (Int32, Int32, String, String, String, Int32, String, Int32, Int32, Int32) |
Note: This API is now obsolete.
Selects all the tasks within subtree of given alias path, with information on the count of the failed attempts and without the task data.
Namespace: CMS.SynchronizationAssembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use method without 'totalRecords' parameter and get the total count value from returned object after its result.")]
public static ObjectQuery<StagingTaskInfo> SelectDocumentTaskList(
int siteId,
int serverId,
string aliasPath,
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 - aliasPath
- Type: SystemString
Tasks alias path - where
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order by - topN
- Type: SystemInt32
Select only 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:
ObjectQueryStagingTaskInfoSee Also