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
)
参数
dsDelta
类型:WebSvcAdmin.TimePeriodDataSet包含的数据集更改会计报告时间段的信息。
validationOnly
类型:System.Boolean指定是否验证而不保存所做的更改。
备注
Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/TimePeriod.aspx) 在时间表阶段页上使用UpdateReportingPeriods方法。
Project Server 权限
权限 |
说明 |
---|---|
允许用户创建和修改时间表定义和财务周期定义。全局权限。 |