Admin.ReadAllDefinedFiscalYears 方法

读取的开始日期和完成的定义的会计年度的日期。

命名空间:  WebSvcAdmin
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<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
用法
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()

返回值

类型:WebSvcAdmin.FiscalYearDataSet
包含会计年度定义。

备注

会计年度可以定义Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/FiscalPeriod.aspx) 中的财政周期页上。

Project Server 权限

权限

说明

LogOn

允许用户登录到 Project Server。全局权限。

另请参阅

引用

Admin 类

Admin 成员

WebSvcAdmin 命名空间