Admin.QueueApplyResourceCapacityTimeRange Method

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

Namespace:  [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl


<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    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, _
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueApplyResourceCapacityTimeRange(
    Guid jobUid,
    bool forceFullSync


  • jobUid
    Type: System.Guid
    The GUID for the queue job ID.
  • forceFullSync
    Type: System.Boolean
    If true, forces full synchronization of the Reporting database.


A SharePoint timer service calls QueueApplyResourceCapacityTimeRange every night to maintain resource capacity data. The Project Web App 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).


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

Project Server Permissions




Allows a user to manage the configuration information for Project Server. Global permission.

See Also


Admin Class

Admin Members

Admin Web Service

Other Resources

PSI Methods for the RDB