QueueSystem.GetProposedJobWaitTime method

Office 2013 and later

Calculates the expected amount of time to process a proposed job of the specified type in the Project Server Queuing Service.

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/GetProposedJobWaitTime", 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 int GetProposedJobWaitTime(
	Guid correlationUID,
	QueueMsgType messageType
)

Parameters

correlationUID
Type: System.Guid

GUID of the job correlation.

messageType
Type: WebSvcQueueSystem.QueueMsgType

QueueMsgType enumeration value.

Return value

Type: System.Int32
Number of seconds of expected wait time.

The expected wait time for a proposed job is only approximate, based on the average wait times for jobs of similar type. GetProposedJobWaitTime also takes into account the position the job would have on the queue and the correlation priority.

Project Server Permissions

Permission

Description

LogOn

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

Show: