Class ConnectionSettings
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.dll
Represents settings for a connection.
public class ConnectionSettings
Inheritance
ConnectionSettings
Inherited Members
Constructors
ConnectionSettings(Optional<IEnumerable>, Optional, Optional, Optional, Optional, Optional)
Initializes a new instance of the ConnectionSettings class.
Properties
Gets the name of the application.
Gets the compressors.
Information about a library using the .NET driver.
Whether the load balanced mode is enabled.
Gets the maximum idle time.
Gets the maximum life time.
Methods
With(Optional<IEnumerable>, Optional, Optional, Optional, Optional, Optional)
Returns a new ConnectionSettings instance with some settings changed.