Share via


ExchangeServiceBinding.Unsubscribe Method

Drops a notification subscription.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
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("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
public UnsubscribeResponseType Unsubscribe(
    UnsubscribeType Unsubscribe1
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.UnsubscribeResponseType

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace