共用方式為


Resource.CreateDelegations method

建立用來管理資源的委派資訊。

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

Syntax

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/CreateDelegations", 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 Sub CreateDelegations ( _
    ds As UserDelegationDataSet _
)
'用途
Dim instance As Resource
Dim ds As UserDelegationDataSet

instance.CreateDelegations(ds)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/CreateDelegations", 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 void CreateDelegations(
    UserDelegationDataSet ds
)

參數

備註

這個方法不會傳回 GUID 的專案和資源的 GUID。

專案伺服器權限

權限

說明

ManageMyDelegations

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

ManageMyResourceDelegations

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

請參閱

參照

Resource class

Resource members

WebSvcResource namespace