QueueSystem.GetProposedJobWaitTime Method

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

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

Syntax

'Declaration
<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 Function GetProposedJobWaitTime ( _
    correlationUID As Guid, _
    messageType As QueueMsgType _
) As Integer
'Usage
Dim instance As QueueSystem
Dim correlationUID As Guid
Dim messageType As QueueMsgType
Dim returnValue As Integer

returnValue = instance.GetProposedJobWaitTime(correlationUID, _
    messageType)
[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.

Return Value

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

Remarks

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

Log on to Project Server. Global permission.

See Also

Reference

QueueSystem Class

QueueSystem Members

WebSvcQueueSystem Namespace