ExchangeServiceBinding.GetEvents Method

The GetEvents method sends the request to and gets the response from a GetEvents operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

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

Parameters

Return Value

Type: ExchangeWebServices.GetEventsResponseType
The GetEvents method returns a GetEventsResponseType object that contains the status of the GetEvents operation and a notification that may contain a set of events for a subscription.