Admin.UpdateReportingPeriods 方法

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

语法

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

参数

  • validationOnly
    类型:System.Boolean

    指定是否验证而不保存所做的更改。

备注

Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/TimePeriod.aspx) 在时间表阶段页上使用UpdateReportingPeriods方法。

Project Server 权限

权限

说明

ManageTimesheetAndFinancialPeriods

允许用户创建和修改时间表定义和财务周期定义。全局权限。

另请参阅

引用

Admin 类

Admin 成员

WebSvcAdmin 命名空间