Freigeben über


SetConnection-Methode

Sets the active connection for the domain root. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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
)

Parameter