Share via


Admin.ReadFiscalPeriods method

Reads the fiscal period names, start dates, end dates, and quarters that are defined for the specified fiscal year.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadFiscalPeriods", 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 Function ReadFiscalPeriods ( _
    fiscalYear As Integer _
) As FiscalPeriodDataSet
'Usage
Dim instance As Admin
Dim fiscalYear As Integer
Dim returnValue As FiscalPeriodDataSet

returnValue = instance.ReadFiscalPeriods(fiscalYear)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadFiscalPeriods", 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 FiscalPeriodDataSet ReadFiscalPeriods(
    int fiscalYear
)

Parameters

  • fiscalYear
    Type: System.Int32

    The fiscal year in which periods are defined.

Return value

Type: WebSvcAdmin.FiscalPeriodDataSet
Contains information for the fiscal periods.

Remarks

The fiscal periods can be set on the Fiscal Periods page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/FiscalPeriod.aspx).

Project Server Permissions

Permission

Description

LogOn

Allows a user to log on to Project Server. Global permission.

See also

Reference

Admin class

Admin members

WebSvcAdmin namespace