Platforms to show: All Mac Windows Linux Cross-Platform

MongoServerDescriptionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MongoDB MBS MongoDB Plugin 22.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The server description class.
Example
Const URL = "mongodb://localhost/"

Var uri As New MongoURIMBS(URL)
Var client As New MongoClientMBS(uri)

// do something to trigger connection
Var names() As String = client.DatabasesNames

// now check first server
Var ServerDescriptions() As MongoServerDescriptionMBS = client.ServerDescriptions
Break // check in debugger

Holds information about a mongod or mongos the driver is connected to.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some related classes:


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


MongoHostListMBS   -   MongoSessionMBS


The biggest plugin in space...