Redigera

Dela via


GetEvents

The GetEvents element represents the operation used by pull clients to request notifications from the server.

GetEvents

<GetEvents>
   <SubscriptionId/>
   <Watermark/>
</GetEvents>

GetEventsType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
SubscriptionId (GetEvents)
Represents the identifier for a subscription that is queried for events.
Watermark
Represents the last watermark returned to the client. If GetEvents has not been called for this subscription, the client uses the watermark returned from the Subscribe request. Otherwise, the watermark from the last event in the last GetEvents response is used.

Parent elements

None.

Remarks

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema name
Messages schema
Validation file
Messages.xsd
Can be empty
false

See also

Subscribe operation

GetEvents operation

Unsubscribe operation