Jaa


ExchangeServiceBinding.AddDelegate Method

The AddDelegate method sends the request to and gets the response from an AddDelegate operation.

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.AddDelegateResponseMessageType
The AddDelegate class returns a AddDelegateResponseMessageType object that contains the status of the AddDelegate operation.