Platforms to show: All Mac Windows Linux Cross-Platform

Back to MongoSessionMBS class.

MongoSessionMBS.Client as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The reference to the client object.

(Read only property)

MongoSessionMBS.ClusterTime as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the session's clusterTime, as a JSON document.

If the session has not been used for any operation and you have not called AdvanceClusterTime, then the returned value is NULL.
(Read only property)

MongoSessionMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read only property)

MongoSessionMBS.InTransaction as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Check whether a multi-document transaction is in progress for this session.

Returns true if a transaction was started and has not been committed or aborted, otherwise false.
(Read only property)

MongoSessionMBS.ServerID as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the "server ID" of the mongos this session is pinned to.

A server ID or 0 if this session is not pinned.
(Read only property)

MongoSessionMBS.SessionID as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the server-side "logical session ID" associated with this session as a JSON document.

(Read only property)

MongoSessionMBS.TransactionState as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 22.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the current transaction state for this session.

See transaction* constants.
(Read only property)

The items on this page are in the following plugins: MBS MongoDB Plugin.


The biggest plugin in space...