| ICoreServerSession Interface | 
Namespace: MongoDB.Driver
 Syntax
SyntaxThe ICoreServerSession type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Id | 
            Gets the session Id.
             | 
|  | IsDirty | 
            Gets a value indicate whether this session is dirty.
             | 
|  | LastUsedAt | 
            Gets the time this server session was last used (in UTC).
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AdvanceTransactionNumber | 
            Gets the next transaction number.
             | 
|  | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from IDisposable.) | 
|  | MarkDirty | 
            Marks the session as dirty.
             | 
|  | WasUsed | 
            Called by the driver when the session is used (i.e. sent to the server).
             | 
 See Also
See Also