RegisteredServersStore.ISfcHasConnection.GetConnection メソッド

ISfcConnection オブジェクトの接続を取得します。 このクラスは継承できません。

名前空間:  Microsoft.SqlServer.Management.RegisteredServers
アセンブリ:  Microsoft.SqlServer.Management.RegisteredServers (Microsoft.SqlServer.Management.RegisteredServers.dll)

構文

'宣言
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'使用
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 は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

戻り値

型: Microsoft.SqlServer.Management.Common.ISfcConnection
ISfcConnection オブジェクトです。

実装

ISfcHasConnection.GetConnection()

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

関連項目

参照

RegisteredServersStore クラス

GetConnection オーバーロード

Microsoft.SqlServer.Management.RegisteredServers 名前空間