共用方式為


Resource.UpdateDelegations Method

Updates delegation information used to manage resources.

Namespace:  [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/UpdateDelegations", 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 UpdateDelegations ( _
    ds As UserDelegationDataSet _
)
'Usage
Dim instance As Resource
Dim ds As UserDelegationDataSet

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

Parameters

Remarks

New method in Project Server 2010.

Project Server Permissions

Permission

Description

ManageMyDelegations

Allows a user to manage his or her own user delegations.

ManageMyResourceDelegations

Allows a user to manage his or her own resource delegations.

See Also

Reference

Resource Class

Resource Members

Resource Web Service