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.