Share via


Admin.UpdateReportingPeriods method

Updates the timesheet reporting periods.

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

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

WebSvcAdmin namespace