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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
ICoreSessionHandle StartSession(
	CoreSessionOptions options = null
)

Parameters

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

Return Value

Type: ICoreSessionHandle
A session.
See Also