Admin.ReadAllDefinedFiscalYears Method

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

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/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: [Admin Web service].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

Admin Web Service