Compartir a través de


ExchangeServiceBinding.GetDelegate Method

The GetDelegate method sends the request to and gets the response from a GetDelegate operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetDelegate", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function GetDelegate ( _
    GetDelegate1 As GetDelegateType _
) As GetDelegateResponseMessageType
'Usage
Dim instance As ExchangeServiceBinding
Dim GetDelegate1 As GetDelegateType
Dim returnValue As GetDelegateResponseMessageType

returnValue = instance.GetDelegate(GetDelegate1)
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetDelegate", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ExchangeImpersonation")]
public GetDelegateResponseMessageType GetDelegate(
    GetDelegateType GetDelegate1
)

Parameters

Return Value

Type: ExchangeWebServices.GetDelegateResponseMessageType
The GetDelegate method returns a GetDelegateResponseMessageType object that contains a delegate.