Поделиться через


Метод QueueSystem.ReadAllJobStatusSimple

Получает состояние всех заданий службы очередей Project Server в указанный диапазон дат.

Пространство имен:  WebSvcQueueSystem
Сборка:  ProjectServerServices (в ProjectServerServices.dll)

Синтаксис

'Декларация
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadAllJobStatusSimple", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadAllJobStatusSimple ( _
    fromDate As DateTime, _
    toDate As DateTime, _
    maxRows As Integer, _
    includeWaitTime As Boolean, _
    sortColumn As SortColumn, _
    sortOrder As SortOrder _
) As QueueStatusDataSet
'Применение
Dim instance As QueueSystem
Dim fromDate As DateTime
Dim toDate As DateTime
Dim maxRows As Integer
Dim includeWaitTime As Boolean
Dim sortColumn As SortColumn
Dim sortOrder As SortOrder
Dim returnValue As QueueStatusDataSet

returnValue = instance.ReadAllJobStatusSimple(fromDate, _
    toDate, maxRows, includeWaitTime, _
    sortColumn, sortOrder)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadAllJobStatusSimple", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public QueueStatusDataSet ReadAllJobStatusSimple(
    DateTime fromDate,
    DateTime toDate,
    int maxRows,
    bool includeWaitTime,
    SortColumn sortColumn,
    SortOrder sortOrder
)

Параметры

  • fromDate
    Тип: System.DateTime

    Минимальное значение даты и времени заданий в очереди.

  • toDate
    Тип: System.DateTime

    Максимальная дата и время заданий в очереди.

  • maxRows
    Тип: System.Int32

    Максимальное число возвращаемых строк состояния заданий.

  • includeWaitTime
    Тип: System.Boolean

    Если trueвключают время ожидания возложенных.

  • sortColumn
    Тип: WebSvcQueueSystem.SortColumn

    Указывает, какие поля для сортировки в списке заданий.

  • sortOrder
    Тип: WebSvcQueueSystem.SortOrder

    Указывает ли сортировка, а также в какой порядок.

Возвращаемое значение

Тип: WebSvcQueueSystem.QueueStatusDataSet
Состояние запрошенного заданий с данными QueueStatusDataSet.StatusRow для каждого задания.

Замечания

Примеры запросов состоянии задания и полученными данными в разделе ReadJobStatus и ReadJobStatusSimple.

Разрешения Project Server

Разрешение

Описание

ManageQueue

Позволяет пользователю управлять очередей Project Server. Глобальное разрешение.

См. также

Справочные материалы

QueueSystem класс

Элементы QueueSystem

Пространство имен WebSvcQueueSystem

ReadJobStatus

ReadJobStatusSimple