QueueSystem.GetProposedJobWaitTime 方法

计算的预期处理 Project Server 队列服务中的指定类型的建议的作业的时间量。

命名空间:  WebSvcQueueSystem
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/GetProposedJobWaitTime", 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 GetProposedJobWaitTime ( _
    correlationUID As Guid, _
    messageType As QueueMsgType _
) As Integer
用法
Dim instance As QueueSystem
Dim correlationUID As Guid
Dim messageType As QueueMsgType
Dim returnValue As Integer

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

参数

  • correlationUID
    类型:System.Guid

    作业相关的 GUID。

返回值

类型:System.Int32
预期的等待时间的秒数。

备注

建议的作业的预期的等待时间才近似,基于相似类型的作业的平均等待时间。GetProposedJobWaitTime还考虑到此作业会对队列和互联优先级的位置。

Project Server 权限

权限

说明

LogOn

允许用户登录到 Project Server。全局权限。

另请参阅

引用

QueueSystem 类

QueueSystem 成员

WebSvcQueueSystem 命名空间