ConnectionStore ConnectionStore ConnectionStore Class

Definition

Implements an instance of the IConnectionStore interface based on IDbConnection.

public ref class ConnectionStore : System::ComponentModel::Component, IDisposable, Microsoft::SqlServer::Management::IConnectionStore<System::Data::IDbConnection ^>
public class ConnectionStore : System.ComponentModel.Component, IDisposable, Microsoft.SqlServer.Management.IConnectionStore<System.Data.IDbConnection>
Public Class ConnectionStore
Inherits Component
Implements IConnectionStore(Of IDbConnection), IDisposable
Inheritance
ConnectionStoreConnectionStoreConnectionStore
Implements

Constructors

ConnectionStore() ConnectionStore() ConnectionStore()

Initializes a new instance of the ConnectionStore class with the default property values.

ConnectionStore(IContext) ConnectionStore(IContext) ConnectionStore(IContext)

Initializes a new instance of the ConnectionStore class with the specified context parameter.

ConnectionStore(IServiceProvider) ConnectionStore(IServiceProvider) ConnectionStore(IServiceProvider)

Initializes a new instance of the ConnectionStore class with the specified serviceProvider parameter.

Properties

ConnectionInfo ConnectionInfo ConnectionInfo

Gets or sets the information about the connection of the ConnectionStore class.

Connections Connections Connections

Gets the list of connections so that they can be disposed of later.

Methods

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the ConnectionStore and optionally releases the managed resources.

Finalize() Finalize() Finalize()

Specifies the finalized method.

GetConnection() GetConnection() GetConnection()

Creates a copy of the existing connection. This class cannot be inherited.

GetConnection(Boolean) GetConnection(Boolean) GetConnection(Boolean)

Retrieves a connection that is used in this object. This class cannot be inherited.

Applies to