Метод 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.