Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadMyJobStatus", 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)> _
PublicFunctionReadMyJobStatus ( _
	messageTypesAsQueueMsgType(), _
	JobCompletionStateAsJobState(), _
	fromDateAsDateTime, _
	toDateAsDateTime, _
	maxRowsAsInteger, _
	includeWaitTimeAsBoolean, _
	sortColumnAsSortColumn, _
	sortOrderAsSortOrder _
) AsQueueStatusDataSet
'Usage
DiminstanceAsQueueSystemDimmessageTypesAsQueueMsgType()
DimJobCompletionStateAsJobState()
DimfromDateAsDateTimeDimtoDateAsDateTimeDimmaxRowsAsIntegerDimincludeWaitTimeAsBooleanDimsortColumnAsSortColumnDimsortOrderAsSortOrderDimreturnValueAsQueueStatusDataSetreturnValue = instance.ReadMyJobStatus(messageTypes, _
	JobCompletionState, fromDate, toDate, _
	maxRows, includeWaitTime, sortColumn, _
	sortOrder)

Parameters

messageTypes
Type: []

Array of QueueMsgType enumeration values.

JobCompletionState
Type: []

Array of JobState enumeration values.

fromDate
Type: System.DateTime

Minimum date and time of queue jobs.

toDate
Type: System.DateTime

Maximum date and time of queue jobs.

maxRows
Type: System.Int32

Maximum number of job status rows to return.

includeWaitTime
Type: System.Boolean

If true, include the expected job wait time.

sortColumn
Type: WebSvcQueueSystem.SortColumn

Specifies which field to sort in the list of jobs.

sortOrder
Type: WebSvcQueueSystem.SortOrder

Specifies whether to sort and in what order.

Return value

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

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.