Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
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
)
Parameters
- sqlConnection
Type: System.Data.SqlClient.SqlConnection
Specifies the instance of SQL Server to connect to.