ExchangeServiceBinding.GetEvents Method
Requests notifications from the Microsoft Exchange Server 2007 Client Access server.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<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
'Usage
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
)
Parameters
- GetEvents1
Type: Microsoft.SharePoint.Portal.WebControls.GetEventsType
Notifications to request.
Return Value
Type: Microsoft.SharePoint.Portal.WebControls.GetEventsResponseType
An array of items and events that occurred in a mailbox since the last notification.