Click or drag to resize

IClusterStartSession Method

Starts a session.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
ICoreSessionHandle StartSession(
	CoreSessionOptions options = null
)

Parameters

options (Optional)
Type: MongoDB.Driver.Core.BindingsCoreSessionOptions
The options.

Return Value

Type: ICoreSessionHandle
A session.
See Also