StagingTaskInfoProviderSelectObjectTaskList Method (Int32, Int32, String, String, String, Int32, String, 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: 12.0.0
Syntax public static ObjectQuery<StagingTaskInfo> SelectObjectTaskList(
int siteId,
int serverId,
string objectTypes,
string where,
string orderBy,
int topN = -1,
string columns = null,
int offset = 0,
int maxRecords = 0
)
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 (Optional)
- Type: SystemInt32
Select top N rows - columns (Optional)
- Type: SystemString
Select only specified columns - offset (Optional)
- Type: SystemInt32
Index of first record to get - maxRecords (Optional)
- Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
Return Value
Type:
ObjectQueryStagingTaskInfoSee Also