Partager via


ExchangeServiceBinding.Unsubscribe, méthode (Microsoft.SharePoint.Portal.WebControls)

Drops a notification subscription.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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
)

Paramètres

  • Unsubscribe1

Voir aussi

Référence

ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms