ConnectionStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type ConnectionStore = class
inherit Component
interface IConnectionStore<IDbConnection>
interface IDisposable
Public Class ConnectionStore
Inherits Component
Implements IConnectionStore(Of IDbConnection), IDisposable
- Inheritance
-
ConnectionStore
- Implements
Constructors
ConnectionStore() |
Initializes a new instance of the ConnectionStore class with the default property values. |
ConnectionStore(IContext) |
Initializes a new instance of the ConnectionStore class with the specified context parameter. |
ConnectionStore(IServiceProvider) |
Initializes a new instance of the ConnectionStore class with the specified serviceProvider parameter. |
Properties
ConnectionInfo |
Gets or sets the information about the connection of the ConnectionStore class. |
Connections |
Gets the list of connections so that they can be disposed of later. |
Methods
Dispose(Boolean) |
Releases the unmanaged resources used by the ConnectionStore and optionally releases the managed resources. |
Finalize() |
Specifies the finalized method. |
GetConnection() |
Creates a copy of the existing connection. This class cannot be inherited. |
GetConnection(Boolean) |
Retrieves a connection that is used in this object. This class cannot be inherited. |