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
- connection
Typ: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
A ISfcConnection object.
Implementiert
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.