Поделиться через


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
public string Watermark { get; set; }
public:
property String^ Watermark {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Watermark ()

/** @property */
public void set_Watermark (String value)
public function get Watermark () : String

public function set Watermark (value : String)

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)