SqlStoreConnection 构造函数
Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
sqlConnection As SqlConnection _
)
用法
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
)
参数
- sqlConnection
类型:System.Data.SqlClient. . :: . .SqlConnection
Specifies the instance of SQL Server to connect to.