Resource.CreateDelegations 方法

创建用于管理资源委派信息。

命名空间:  WebSvcResource
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<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。

Project Server 权限

权限

说明

ManageMyDelegations

允许用户管理其自己的用户委派。

ManageMyResourceDelegations

允许用户管理其自己的资源委派。

另请参阅

引用

Resource 类

Resource 成员

WebSvcResource 命名空间