ConnectionString Class (original) (raw)

Represents a connection string.

Inheritance Hierarchy

SystemObject
MongoDB.Driver.Core.ConfigurationConnectionString

Namespace: MongoDB.Driver.Core.Configuration
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public sealed class ConnectionString

Public NotInheritable Class ConnectionString

[] type ConnectionString = class end

The ConnectionString type exposes the following members.

Constructors

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | | Public method | ConnectionString | Initializes a new instance of the ConnectionString class. |

Top

Properties

Methods

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Public method | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | | Public method | GetHashCode | Serves as the default hash function. (Inherited from Object.) | | Public method | GetOption | Gets the option. | | Public method | GetType | Gets the Type of the current instance. (Inherited from Object.) | | Public method | Resolve | Resolves a connection string. If the connection string indicates more information is available in the DNS system, it will acquire that information as well. | | Public method | Resolve(Boolean) | Resolves a connection string. If the connection string indicates more information is available in the DNS system, it will acquire that information as well. | | Public method | ResolveAsync(CancellationToken) | Resolves a connection string. If the connection string indicates more information is available in the DNS system, it will acquire that information as well. | | Public method | ResolveAsync(Boolean, CancellationToken) | Resolves a connection string. If the connection string indicates more information is available in the DNS system, it will acquire that information as well. | | Public method | ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |

Top

Extension Methods

See Also

Reference