共用方式為


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,或所有) 的類型。

傳回值

類型:WebSvcAdmin.TimesheetLineClassDataSet
包含時程表行資訊。

備註

Project Server 權限

權限

描述

LogOn

可讓使用者登入 Project Server。通用權限。

請參閱

參照

Admin 類別

Admin 成員

WebSvcAdmin 命名空間