MongoServer Properties |
The MongoServer type exposes the following members.
| Name | Description | |
|---|---|---|
| Arbiters |
Gets the arbiter instances.
| |
| BuildInfo |
Gets the build info of the server.
| |
| Instance |
Gets the one and only instance for this server.
| |
| Instances |
Gets the instances for this server.
| |
| ItemString | Obsolete.
Gets a MongoDatabase instance representing a database on this server.
| |
| ItemString, WriteConcern | Obsolete.
Gets a MongoDatabase instance representing a database on this server.
| |
| MaxServerCount |
Gets or sets the maximum number of instances of MongoServer that will be allowed to be created.
| |
| Passives | Obsolete.
Gets the passive instances.
| |
| Primary |
Gets the primary instance (null if there is no primary).
| |
| ReplicaSetName |
Gets the name of the replica set (null if not connected to a replica set).
| |
| Secondaries |
Gets the secondary instances.
| |
| SequentialId |
Gets the unique sequential Id for this server.
| |
| ServerCount |
Gets the number of instances of MongoServer that have been created.
| |
| Settings |
Gets the settings for this server.
| |
| State |
Gets the current state of this server (as of the last operation, not updated until another operation is performed).
|