次の方法で共有


ExchangeServiceBinding.Unsubscribe Method

The Unsubscribe method sends the request to and returns the response from an Unsubscribe operation.

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.UnsubscribeResponseType
The Unsubscribe method returns an UnsubscribeResponseType object that contains the result of the Unsubscribe operation.