Admin.ReadPeriods 方法
读取指定的状态的时间表阶段的相关信息。
命名空间: WebSvcAdmin
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadPeriods", 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 ReadPeriods ( _
p0 As PeriodState _
) As TimePeriodDataSet
用法
Dim instance As Admin
Dim p0 As PeriodState
Dim returnValue As TimePeriodDataSet
returnValue = instance.ReadPeriods(p0)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadPeriods", 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 TimePeriodDataSet ReadPeriods(
PeriodState p0
)
参数
p0
类型:WebSvcAdmin.PeriodState时间表状态枚举: All、 Closed或Open。
返回值
类型:WebSvcAdmin.TimePeriodDataSet
包含有关由p0参数指定的状态的时间表阶段的信息。
备注
Project Server 权限
权限 |
说明 |
---|---|
允许用户登录到 Project Server。全局权限。 |