Admin.ReadLineClasses 方法
读取所有时间表行类名,根据指定的类型和时间表行的状态。
命名空间: WebSvcAdmin
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadLineClasses", 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 ReadLineClasses ( _
type As LineClassType, _
classState As LineClassState _
) As TimesheetLineClassDataSet
用法
Dim instance As Admin
Dim type As LineClassType
Dim classState As LineClassState
Dim returnValue As TimesheetLineClassDataSet
returnValue = instance.ReadLineClasses(type, _
classState)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadLineClasses", 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 TimesheetLineClassDataSet ReadLineClasses(
LineClassType type,
LineClassState classState
)
参数
type
类型:WebSvcAdmin.LineClassType时间表行 (正常、 非项目、 NonWork、 AllNonProject,或所有) 的类型。
classState
类型:WebSvcAdmin.LineClassState时间表行 (启用、 禁用,或所有) 的状态。
返回值
类型:WebSvcAdmin.TimesheetLineClassDataSet
包含时间表行的信息。
备注
Project Server 权限
权限 |
说明 |
---|---|
允许用户登录到 Project Server。全局权限。 |