Freigeben über


RegisteredServersStore.ISfcHasConnection.SetConnection-Methode

Sets a connection. This class cannot be inherited.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Private Sub SetConnection ( _
    connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Usage
Dim instance As RegisteredServersStore 
Dim connection As ISfcConnection 

CType(instance, ISfcHasConnection).SetConnection(connection)
void ISfcHasConnection.SetConnection(
    ISfcConnection connection
)
private:
virtual void SetConnection(
    ISfcConnection^ connection
) sealed = ISfcHasConnection::SetConnection
private abstract SetConnection : 
        connection:ISfcConnection -> unit  
private override SetConnection : 
        connection:ISfcConnection -> unit
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

Implementiert

ISfcHasConnection.SetConnection(ISfcConnection)

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

RegisteredServersStore Klasse

Microsoft.SqlServer.Management.RegisteredServers-Namespace