Partager via


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

Requests notifications from the Microsoft Exchange Server 2007 Client Access server.

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

Syntaxe

'Déclaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
Public Function GetEvents ( _
    GetEvents1 As GetEventsType _
) As GetEventsResponseType
'Utilisation
Dim instance As ExchangeServiceBinding
Dim GetEvents1 As GetEventsType
Dim returnValue As GetEventsResponseType

returnValue = instance.GetEvents(GetEvents1)
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
public GetEventsResponseType GetEvents (
    GetEventsType GetEvents1
)

Paramètres

  • GetEvents1
    Notifications to request.

Valeur de retour

An array of items and events that occurred in a mailbox since the last notification.

Voir aussi

Référence

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