ConnectionStore Class
Implements an instance of the IConnectionStore interface based on IDbConnection.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.SqlServer.Management.ConnectionStore
Namespace: Microsoft.SqlServer.Management
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
Syntax
'Declaration
Public Class ConnectionStore _
Inherits Component _
Implements IConnectionStore(Of IDbConnection), IDisposable
'Usage
Dim instance As ConnectionStore
public class ConnectionStore : Component,
IConnectionStore<IDbConnection>, IDisposable
public ref class ConnectionStore : public Component,
IConnectionStore<IDbConnection^>, IDisposable
type ConnectionStore =
class
inherit Component
interface IConnectionStore<IDbConnection>
interface IDisposable
end
public class ConnectionStore extends Component implements IConnectionStore<IDbConnection>, IDisposable
The ConnectionStore type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConnectionStore() | Initializes a new instance of the ConnectionStore class with the default property values. | |
ConnectionStore(IServiceProvider) | Initializes a new instance of the ConnectionStore class with the specified serviceProvider parameter. | |
ConnectionStore(IContext) | Initializes a new instance of the ConnectionStore class with the specified context parameter. |
Top
Properties
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from Component.) | |
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. | |
Container | (Inherited from Component.) | |
DesignMode | (Inherited from Component.) | |
Events | (Inherited from Component.) | |
Site | (Inherited from Component.) |
Top
Methods
Name | Description | |
---|---|---|
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Dispose() | (Inherited from Component.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the ConnectionStore and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize | Specifies the finalized method. (Overrides Component.Finalize().) | |
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. | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetService | (Inherited from Component.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
MemberwiseClone() | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
ToString | (Inherited from Component.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.