Share via


QueueSystem.ReadMyJobStatus method

Gets the status of jobs owned by the current user from the Project Server Queuing Service.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadMyJobStatus", 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 ReadMyJobStatus ( _
    messageTypes As QueueMsgType(), _
    JobCompletionState As JobState(), _
    fromDate As DateTime, _
    toDate As DateTime, _
    maxRows As Integer, _
    includeWaitTime As Boolean, _
    sortColumn As SortColumn, _
    sortOrder As SortOrder _
) As QueueStatusDataSet
'Usage
Dim instance As QueueSystem
Dim messageTypes As QueueMsgType()
Dim JobCompletionState As JobState()
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.ReadMyJobStatus(messageTypes, _
    JobCompletionState, fromDate, toDate, _
    maxRows, includeWaitTime, sortColumn, _
    sortOrder)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadMyJobStatus", 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 ReadMyJobStatus(
    QueueMsgType[] messageTypes,
    JobState[] JobCompletionState,
    DateTime fromDate,
    DateTime toDate,
    int maxRows,
    bool includeWaitTime,
    SortColumn sortColumn,
    SortOrder sortOrder
)

Parameters

  • messageTypes
    Type: []

    Array of QueueMsgType enumeration values.

  • JobCompletionState
    Type: []

    Array of JobState 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 submitted by the current user, with the QueueStatusDataSet.StatusRow data for each job.

Remarks

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

Project Server Permissions

Permission

Description

LogOn

Allows the user to log on to Project Server. Global permission.

See also

Reference

QueueSystem class

QueueSystem members

WebSvcQueueSystem namespace

ReadJobStatus

ReadJobStatusSimple