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
Syntax
'Declaration
<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 _
)
'Usage
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
)
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.
Remarks
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 (https://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 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 |
---|---|
Allows a user to manage the configuration information for Project Server. Global permission. |