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。通用權限。 |