Share via


ISfcHasConnection.SetConnection Method

Sets the active connection for the domain root. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Sub SetConnection ( _
    connection As ISfcConnection _
)
'Usage
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
)

Parameters