This documentation is archived and is not being maintained.

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)

[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("http://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

GetEvents1
Type: ExchangeWebServices.GetEventsType
An instance of the GetEventsType class that contains the identifier for a pull subscription and a specific watermark.

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.
Show: