Compartilhar via


QueueSystem.ReadAllJobStatusSimple método

Obtém o status de todos os trabalhos do serviço de enfileiramento do Project Server dentro das datas especificadas.

Namespace:  WebSvcQueueSystem
Assembly:  ProjectServerServices (em ProjectServerServices.dll)

Sintaxe

'Declaração
<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
'Uso
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
)

Parâmetros

  • fromDate
    Tipo: System.DateTime

    Mínima data e hora dos trabalhos em fila.

  • maxRows
    Tipo: System.Int32

    Número máximo de linhas de status do trabalho para retornar.

  • includeWaitTime
    Tipo: System.Boolean

    Se true, incluem o tempo de espera de trabalho esperadas.

Valor retornado

Tipo: WebSvcQueueSystem.QueueStatusDataSet
Status dos trabalhos solicitados, com os dados QueueStatusDataSet.StatusRow para cada trabalho.

Comentários

Para obter exemplos de solicitações de status do trabalho e os dados resultantes, consulte ReadJobStatus e ReadJobStatusSimple.

Permissões do Project Server

Permissão

Descrição

ManageQueue

Permite ao usuário gerenciar a fila do Project Server. Permissão global.

Ver também

Referência

QueueSystem classe

QueueSystem membros

WebSvcQueueSystem namespace

ReadJobStatus

ReadJobStatusSimple