SqlStoreConnection-Konstruktor
Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub New ( _
sqlConnection As SqlConnection _
)
'Usage
Dim sqlConnection As SqlConnection
Dim instance As New SqlStoreConnection(sqlConnection)
public SqlStoreConnection(
SqlConnection sqlConnection
)
public:
SqlStoreConnection(
SqlConnection^ sqlConnection
)
new :
sqlConnection:SqlConnection -> SqlStoreConnection
public function SqlStoreConnection(
sqlConnection : SqlConnection
)
Parameter
- sqlConnection
Typ: System.Data.SqlClient. . :: . .SqlConnection
Specifies the instance of SQL Server to connect to.