MongoServerInstance Methods |
The MongoServerInstance type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetIPEndPoint |
Gets the IP end point of this server instance.
|
![]() | GetServerDescription |
Gets the server description.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Ping |
Checks whether the server is alive (throws an exception if not).
|
![]() | Supports |
Checks whether this server instance supports a feature.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |