Admin.QueueApplyResourceCapacityTimeRange 方法

将一条消息放在要应用资源容量时间范围报告数据库中的项目队列。

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

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/QueueApplyResourceCapacityTimeRange", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueApplyResourceCapacityTimeRange ( _
    jobUid As Guid, _
    forceFullSync As Boolean _
)
用法
Dim instance As Admin
Dim jobUid As Guid
Dim forceFullSync As Boolean

instance.QueueApplyResourceCapacityTimeRange(jobUid, _
    forceFullSync)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/QueueApplyResourceCapacityTimeRange", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueApplyResourceCapacityTimeRange(
    Guid jobUid,
    bool forceFullSync
)

参数

  • jobUid
    类型:System.Guid

    队列作业的 GUID id。

  • forceFullSync
    类型:System.Boolean

    如果true,强制报告数据库的完全同步。

备注

SharePoint 定时服务每晚调用QueueApplyResourceCapacityTimeRange维护资源容量数据。Project Web App网站管理员可以在 (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) 中的其他服务器设置页上设置的资源容量更新和重新月的时间和容量数据的月份提前时间范围。

备注

不应在高峰重要的扩展容量窗口中,或具有forceFullSync参数设置为true后调用QueueApplyResourceCapacityTimeRange 。加载所有基准日历和资源日历和计算容量的过程是占用大量内存和 CPU 消耗。

Project Server 权限

权限

说明

ManageServerConfiguration

允许用户管理 Project Server 的配置信息。全局权限。

另请参阅

引用

Admin 类

Admin 成员

WebSvcAdmin 命名空间

其他资源

PSI Methods for the RDB