Partager via


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("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/AddDelegate", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("MailboxCulture")> _
Public Function AddDelegate ( _
    AddDelegate1 As AddDelegateType _
) As AddDelegateResponseMessageType
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/AddDelegate", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("MailboxCulture")] 
public AddDelegateResponseMessageType AddDelegate (
    AddDelegateType AddDelegate1
)
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/AddDelegate", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"MailboxCulture")] 
public:
AddDelegateResponseMessageType^ AddDelegate (
    AddDelegateType^ AddDelegate1
)
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/AddDelegate", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
public AddDelegateResponseMessageType AddDelegate (
    AddDelegateType AddDelegate1
)
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/AddDelegate", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("MailboxCulture") 
public function AddDelegate (
    AddDelegate1 : AddDelegateType
) : AddDelegateResponseMessageType

Parameters

  • AddDelegate1
    An instance of the AddDelegateType class that represents the delegates to add to a mailbox.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)