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.