StagingTaskInfoProviderSelectObjectTaskList Method (Int32, Int32, String, String, String, Int32, String, Int32, Int32, Int32) |
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: 9.0.0
Syntaxpublic static ObjectQuery<StagingTaskInfo> SelectObjectTaskList(
int siteId,
int serverId,
string objectTypes,
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 - objectTypes
- Type: SystemString
Object types - where
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order by - 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