共用方式為


Resource.ReadDelegation method

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

Namespace:  WebSvcResource
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'宣告
<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
)

參數

傳回值

Type: WebSvcResource.UserDelegationDataSet
傳回UserDelegationDataSet

備註

專案伺服器權限

權限

說明

ManageMyDelegations

讓使用者能夠管理他或她自己的使用者委派。

ManageMyResourceDelegations

讓使用者能夠管理他或她自己的資源委派。

請參閱

參照

Resource class

Resource members

WebSvcResource namespace