This documentation is archived and is not being maintained.

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)

<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
Public Function AddDelegate ( _
	AddDelegate1 As AddDelegateType _
) As AddDelegateResponseMessageType
Dim instance As ExchangeServiceBinding
Dim AddDelegate1 As AddDelegateType
Dim returnValue As AddDelegateResponseMessageType

returnValue = instance.AddDelegate(AddDelegate1)


Type: ExchangeWebServices.AddDelegateType
An instance of the AddDelegateType class that represents the delegates to add to a mailbox.

Return Value

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