Partager via


Admin.UpdateReportingPeriods Method

Updates the timesheet reporting periods.

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/UpdateReportingPeriods", 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 UpdateReportingPeriods ( _
    dsDelta As TimePeriodDataSet, _
    validationOnly As Boolean _
)
'Usage
Dim instance As Admin
Dim dsDelta As TimePeriodDataSet
Dim validationOnly As Boolean

instance.UpdateReportingPeriods(dsDelta, _
    validationOnly)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/UpdateReportingPeriods", 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 UpdateReportingPeriods(
    TimePeriodDataSet dsDelta,
    bool validationOnly
)

Parameters

  • validationOnly
    Type: System.Boolean
    Specifies whether to validate without saving the changes.

Remarks

The Timesheet Periods page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/TimePeriod.aspx) uses the UpdateReportingPeriods method.

Project Server Permissions

Permission

Description

ManageTimesheetAndFinancialPeriods

Allows a user to create and modify timesheet definitions and fiscal period definitions. Global permission.

See Also

Reference

Admin Class

Admin Members

Admin Web Service