MongoUrlBuilder Class |
Namespace: MongoDB.Driver
The MongoUrlBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| MongoUrlBuilder |
Creates a new instance of MongoUrlBuilder.
| |
| MongoUrlBuilder(String) |
Creates a new instance of MongoUrlBuilder.
|
| Name | Description | |
|---|---|---|
| AllowInsecureTls |
Gets or sets whether to relax TLS constraints as much as possible.
| |
| ApplicationName |
Gets or sets the application name.
| |
| AuthenticationMechanism |
Gets or sets the authentication mechanism.
| |
| AuthenticationMechanismProperties |
Gets or sets the authentication mechanism properties.
| |
| AuthenticationSource |
Gets or sets the authentication source.
| |
| Compressors |
Gets or sets the compressors.
| |
| ComputedWaitQueueSize |
Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize).
| |
| ConnectionMode |
Gets or sets the connection mode.
| |
| ConnectTimeout |
Gets or sets the connect timeout.
| |
| DatabaseName |
Gets or sets the optional database name.
| |
| FSync |
Gets or sets the FSync component of the write concern.
| |
| GuidRepresentation |
Gets or sets the representation to use for Guids.
| |
| HeartbeatInterval |
Gets or sets the heartbeat interval.
| |
| HeartbeatTimeout |
Gets or sets the heartbeat timeout.
| |
| IPv6 |
Gets or sets a value indicating whether to use IPv6.
| |
| Journal |
Gets or sets the Journal component of the write concern.
| |
| LocalThreshold |
Gets or sets the local threshold.
| |
| MaxConnectionIdleTime |
Gets or sets the max connection idle time.
| |
| MaxConnectionLifeTime |
Gets or sets the max connection life time.
| |
| MaxConnectionPoolSize |
Gets or sets the max connection pool size.
| |
| MinConnectionPoolSize |
Gets or sets the min connection pool size.
| |
| Password |
Gets or sets the password.
| |
| ReadConcernLevel |
Gets or sets the read concern level.
| |
| ReadPreference |
Gets or sets the read preference.
| |
| ReplicaSetName |
Gets or sets the name of the replica set.
| |
| RetryReads |
Gets or sets whether to retry reads.
| |
| RetryWrites |
Gets or sets whether to retry writes.
| |
| Scheme |
The connection string scheme.
| |
| Server |
Gets or sets the address of the server (see also Servers if using more than one address).
| |
| Servers |
Gets or sets the list of server addresses (see also Server if using only one address).
| |
| ServerSelectionTimeout |
Gets or sets the server selection timeout.
| |
| SocketTimeout |
Gets or sets the socket timeout.
| |
| Username |
Gets or sets the username.
| |
| UseSsl | Obsolete.
Gets or sets a value indicating whether to use SSL.
| |
| UseTls |
Gets or sets a value indicating whether to use TLS.
| |
| VerifySslCertificate | Obsolete.
Gets or sets a value indicating whether to verify an SSL certificate.
| |
| W |
Gets or sets the W component of the write concern.
| |
| WaitQueueMultiple |
Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize).
| |
| WaitQueueSize |
Gets or sets the wait queue size.
| |
| WaitQueueTimeout |
Gets or sets the wait queue timeout.
| |
| WTimeout |
Gets or sets the WTimeout component of the write concern.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWriteConcern |
Returns a WriteConcern value based on this instance's settings and a default enabled value.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse |
Parses a URL and sets all settings to match the URL.
| |
| ToMongoUrl |
Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder.
| |
| ToString |
Returns the canonical URL based on the settings in this MongoUrlBuilder.
(Overrides ObjectToString.) |
| 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.) |