Compartilhar via


Resource.ReadDelegations método

Lê as informações de delegação usadas para gerenciar recursos.

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

Sintaxe

'Declaração
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 ReadDelegations ( _
    filter As DelegationFilter, _
    resUid As Guid _
) As UserDelegationDataSet
'Uso
Dim instance As Resource
Dim filter As DelegationFilter
Dim resUid As Guid
Dim returnValue As UserDelegationDataSet

returnValue = instance.ReadDelegations(filter, _
    resUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 ReadDelegations(
    DelegationFilter filter,
    Guid resUid
)

Parâmetros

Valor retornado

Tipo: WebSvcResource.UserDelegationDataSet
Retorna UserDelegationDataSet.

Comentários

Permissões do Project Server

Permissão

Descrição

Não padrão

Você deve ter a permissão global a ManageWorkflow ou ChangeWorkflow . Se você tiver permissão ChangeWorkflow , você também deve ter permissões de categoria de OpenProject e SaveProject .

Ver também

Referência

Resource classe

Resource membros

WebSvcResource namespace