ConnectionStore Constructors

Definition

Initializes a new instance of the ConnectionStore class.

Overloads

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.

ConnectionStore()

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

public:
 ConnectionStore();
public ConnectionStore ();
Public Sub New ()

Applies to

ConnectionStore(IContext)

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

public:
 ConnectionStore(Microsoft::SqlServer::Management::Data::IContext ^ context);
public ConnectionStore (Microsoft.SqlServer.Management.Data.IContext context);
new Microsoft.SqlServer.Management.ConnectionStore : Microsoft.SqlServer.Management.Data.IContext -> Microsoft.SqlServer.Management.ConnectionStore
Public Sub New (context As IContext)

Parameters

context
IContext

Set the ConnectionInfo out of IContext.

Applies to

ConnectionStore(IServiceProvider)

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

public:
 ConnectionStore(IServiceProvider ^ serviceProvider);
public ConnectionStore (IServiceProvider serviceProvider);
new Microsoft.SqlServer.Management.ConnectionStore : IServiceProvider -> Microsoft.SqlServer.Management.ConnectionStore
Public Sub New (serviceProvider As IServiceProvider)

Parameters

serviceProvider
IServiceProvider

Set the ConnectionInfo out of serviceProvider.

Applies to