Compartir a través de


SubscribeResponseMessageType.Watermark Property

The Watermark property gets or sets an event bookmark in the mailbox event queue.

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

Syntax

'Declaration
Public Property Watermark As String
    Get
    Set
'Usage
Dim instance As SubscribeResponseMessageType
Dim value As String

value = instance.Watermark

instance.Watermark = value
public string Watermark { get; set; }

Property Value

Type: System.String
The Watermark property returns a string that contains an event bookmark.

Remarks

If a Subscribe request contains a watermark, the subscription is created from the watermark forward. If the Subscribe request contains a watermark that is not found in the mailbox events table, an ErrorInvalidWatermark error is returned to the client application. This error may occur if the watermark is too old and was removed from the 30 day window of the events table or if the watermark was not ever present in the events table. This can occur, for example, if a watermark is obtained from a different subscription for a mailbox in a different database.