ExchangeServiceBinding.Unsubscribe(UnsubscribeType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Unsubscribe(UnsubscribeType) method sends the request to and returns the response from an Unsubscribe operation.
public:
ExchangeWebServices::UnsubscribeResponseType ^ Unsubscribe(ExchangeWebServices::UnsubscribeType ^ Unsubscribe1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ExchangeWebServices.UnsubscribeResponseType Unsubscribe (ExchangeWebServices.UnsubscribeType Unsubscribe1);
Public Function Unsubscribe (Unsubscribe1 As UnsubscribeType) As UnsubscribeResponseType
Parameters
- Unsubscribe1
- UnsubscribeType
An instance of the UnsubscribeType class that represents the subscription to cancel.
Returns
The Unsubscribe(UnsubscribeType) method returns an UnsubscribeResponseType object that contains the result of the Unsubscribe operation.
- Attributes