共用方式為


Resource.ReadDelegation 方法

讀取指定的資源委派資訊。

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

語法

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

returnValue = instance.ReadDelegation(delegationUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Resource/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Resource/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public UserDelegationDataSet ReadDelegation(
    Guid delegationUid
)

參數

傳回值

類型:WebSvcResource.UserDelegationDataSet
會傳回UserDelegationDataSet

備註

Project Server 權限

權限

描述

ManageMyDelegations

可讓使用者管理自己的使用者委派。

ManageMyResourceDelegations

可讓使用者管理自己的資源委派。

請參閱

參照

Resource 類別

Resource 成員

WebSvcResource 命名空間