ExchangeServiceBinding.GetEvents(GetEventsType) Method

Definition

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

public:
 ExchangeWebServices::GetEventsResponseType ^ GetEvents(ExchangeWebServices::GetEventsType ^ GetEvents1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
public ExchangeWebServices.GetEventsResponseType GetEvents (ExchangeWebServices.GetEventsType GetEvents1);
Public Function GetEvents (GetEvents1 As GetEventsType) As GetEventsResponseType

Parameters

GetEvents1
GetEventsType

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

Returns

The GetEvents(GetEventsType) 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.

Attributes

Applies to