共用方式為


Statusing.ReadAssignmentsForDelegation 方法

取得目前使用者能夠委派的工作分派已篩選的清單。

命名空間:  WebSvcStatusing
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentsForDelegation", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadAssignmentsForDelegation ( _
    filter As DelegationFilterType, _
    filterParameter As Guid _
) As DelegationDataSet
'用途
Dim instance As Statusing
Dim filter As DelegationFilterType
Dim filterParameter As Guid
Dim returnValue As DelegationDataSet

returnValue = instance.ReadAssignmentsForDelegation(filter, _
    filterParameter)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentsForDelegation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public DelegationDataSet ReadAssignmentsForDelegation(
    DelegationFilterType filter,
    Guid filterParameter
)

參數

  • filterParameter
    類型:System.Guid

    如果選取Project篩選器包含的唯一識別碼,若沒有指定SingleAssignment篩選的工作分派或專案的唯一識別碼。

傳回值

類型:WebSvcStatusing.DelegationDataSet
具有工作分派的DelegationDataSet物件這位使用者能夠委派。

備註

此方法會讀取資料只能在目前已登入的資源。

Project Server 權限

權限

描述

ReassignTask

允許使用者將資源分派給任務。通用權限。

SelfAssignTeamTasks

允許使用者將工作指派給目前的使用者,如果目前的使用者小組工作分派擁有者。僅適用於使用者沒有ReassignTask權限。通用權限。

請參閱

參照

Statusing 類別

Statusing 成員

WebSvcStatusing 命名空間