Partager via


ExchangeServiceBinding.RemoveDelegate Method

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

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

Syntax

'Declaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/RemoveDelegate", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
Public Function RemoveDelegate ( _
    RemoveDelegate1 As RemoveDelegateType _
) As RemoveDelegateResponseMessageType
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/RemoveDelegate", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
public RemoveDelegateResponseMessageType RemoveDelegate (
    RemoveDelegateType RemoveDelegate1
)
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
[SoapHeaderAttribute(L"MailboxCulture")] 
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/RemoveDelegate", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
public:
RemoveDelegateResponseMessageType^ RemoveDelegate (
    RemoveDelegateType^ RemoveDelegate1
)
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/RemoveDelegate", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
public RemoveDelegateResponseMessageType RemoveDelegate (
    RemoveDelegateType RemoveDelegate1
)
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("MailboxCulture") 
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/RemoveDelegate", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
public function RemoveDelegate (
    RemoveDelegate1 : RemoveDelegateType
) : RemoveDelegateResponseMessageType

Parameters

  • RemoveDelegate1
    An instance of the RemoveDelegateType class that represents the request to remove a delegate.

Return Value

The RemoveDelegate method returns a RemoveDelegateResponseMessageType object.

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)