Admin.QueueApplyResourceCapacityTimeRange Method

Puts a message on the project queue to apply the resource capacity time range in the Reporting database.

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

Syntax

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

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

Parameters

  • forceFullSync
    Type: System.Boolean
    If true, forces full synchronization of the Reporting database.

Remarks

A SharePoint timer service calls QueueApplyResourceCapacityTimeRange every night to maintain resource capacity data. The Project Web Access site administrator can set the time for resource capacity updates and the months back and months ahead time range for capacity data on the Additional Server Settings page (http://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx).

Note

You should not call QueueApplyResourceCapacityTimeRange during peak hours after a significant extension of the capacity window or with the forceFullSync parameter set true. The process of loading all base and resource calendars and calculating capacity is both memory and CPU intensive.

Project Server Permissions

Permission

Description

ManageServerConfiguration

Manage configuration of Project Server. Global permission.

See Also

Reference

Admin Class

Admin Members

WebSvcAdmin Namespace

Other Resources

PSI Methods for the RDB