RegisteredServersStore.ISfcHasConnection.GetConnection Method

Gets a connection of the ISfcConnection object. This class cannot be inherited.

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

Syntax

'Declaration
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Usage
Dim instance As RegisteredServersStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.

Implements

ISfcHasConnection.GetConnection()

Remarks

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

See Also

Reference

RegisteredServersStore Class

GetConnection Overload

Microsoft.SqlServer.Management.RegisteredServers Namespace