Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("http://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)

Parameters

Unsubscribe1
Type: ExchangeWebServices.UnsubscribeType
An instance of the UnsubscribeType class that represents the subscription to cancel.

Return Value

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