MongoDBConnectionParameters Members
Stores MongoDB connection parameters.Constructors
| Name | Description |
|---|---|
| MongoDBConnectionParameters() | Initializes a new instance of the MongoDBConnectionParameters class. |
| MongoDBConnectionParameters(String, Boolean, Int32, MongoDBAuthenticationInfo) | Initializes a new instance of the MongoDBConnectionParameters class. |
Properties
| Name | Description |
|---|---|
| AuthenticationInfo | Stores authentication information for a MongoDB instance. |
| Hostname | Specifies the hostname of a MongoDB instance. |
| IsSRVRecord | Specifies whether the Hostname property contains an SRV record. |
| Port | Specifies the port on which a MongoDB instance listens. |
Methods
| Name | Description |
|---|---|
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetConnectionString() | Returns a connection string to a MongoDB instance. Inherited from MongoDBConnectionParametersBase. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also