ISfcHasConnection.SetConnection 方法
Sets the active connection for the domain root. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Sub SetConnection ( _
connection As ISfcConnection _
)
'用途
Dim instance As ISfcHasConnection
Dim connection As ISfcConnection
instance.SetConnection(connection)
void SetConnection(
ISfcConnection connection
)
void SetConnection(
ISfcConnection^ connection
)
abstract SetConnection :
connection:ISfcConnection -> unit
function SetConnection(
connection : ISfcConnection
)
參數
- connection
型別:Microsoft.SqlServer.Management.Common.ISfcConnection
An ISfcConnection object that represents the connection to use.