QueueSystem.ReadAllJobStatus Method

Gets the status of all jobs of the specified types and states from the Project Server Queuing Service.

Namespace:  WebSvcQueueSystem
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)


<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadAllJobStatus", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    ResponseNamespace := "http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadAllJobStatus ( _
    jobStates As JobState(), _
    messageTypes As QueueMsgType(), _
    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 jobStates As JobState()
Dim messageTypes As QueueMsgType()
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.ReadAllJobStatus(jobStates, _
    messageTypes, fromDate, toDate, maxRows, _
    includeWaitTime, sortColumn, sortOrder)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadAllJobStatus", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public QueueStatusDataSet ReadAllJobStatus(
    JobState[] jobStates,
    QueueMsgType[] messageTypes,
    DateTime fromDate,
    DateTime toDate,
    int maxRows,
    bool includeWaitTime,
    SortColumn sortColumn,
    SortOrder sortOrder


  • jobStates
    Type: []
    Array of JobState enumeration values.
  • messageTypes
    Type: []
    Array of QueueMsgType enumeration values.
  • maxRows
    Type: System.Int32
    Maximum number of job status rows to return.
  • includeWaitTime
    Type: System.Boolean
    If true, include the expected job wait time.

Return Value

Type: WebSvcQueueSystem.QueueStatusDataSet
Status of the requested jobs, with the QueueStatusDataSet.StatusRow data for each job.


For examples of job status requests and resulting data, see ReadJobStatus and ReadJobStatusSimple.

Project Server Permissions




Manage the Project Server queue. Global permission.

See Also


QueueSystem Class

QueueSystem Members

WebSvcQueueSystem Namespace