Udostępnij przez


Metoda RegisteredServersStore.ISfcHasConnection.SetConnection

Ustawia połączenie.Klasa ta nie może być dziedziczona.

Przestrzeń nazw:  Microsoft.SqlServer.Management.RegisteredServers
Zestaw:  Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)

Składnia

'Deklaracja
Private Sub SetConnection ( _
    connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Użycie
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 
Język JScript obsługuje używanie jawnych implementacji interfejsów, ale nie obsługuje deklarowania nowych.

Parametry

Implementacje

ISfcHasConnection.SetConnection(ISfcConnection)

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.