Share via


Admin.ReadAllDefinedFiscalYears method

Reads the start dates and finish dates of the defined fiscal years.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadAllDefinedFiscalYears", 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 ReadAllDefinedFiscalYears As FiscalYearDataSet
'Usage
Dim instance As Admin
Dim returnValue As FiscalYearDataSet

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

Return value

Type: WebSvcAdmin.FiscalYearDataSet
Contains the fiscal year definitions.

Remarks

Fiscal years can be defined 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