RegisteredServersStore.ISfcHasConnection.SetConnection Method

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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

ISfcHasConnection.SetConnection(ISfcConnection)

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

RegisteredServersStore Class

Microsoft.SqlServer.Management.RegisteredServers Namespace