DocumentClient.Session Property

Definition

Gets or sets the session object used for session consistency version tracking in the Azure DocumentDB database service.

public object Session { get; set; }
Property Value

Remarks

The session object used for version tracking when the consistency level is set to Session. The session object can be saved and shared between two DocumentClient instances within the same AppDomain.