Export (0) Print
Expand All
Expand Minimize

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("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

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).

NoteNote

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

Permission

Description

ManageServerConfiguration

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

Community Additions

ADD
Show:
© 2014 Microsoft