次の方法で共有


RegisteredServer.GetConnectionObject メソッド

SQL Server のインスタンスへの接続を表す SFC インターフェイス オブジェクトを返します。

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

構文

'宣言
Public Function GetConnectionObject As ISfcConnection
'使用
Dim instance As RegisteredServer 
Dim returnValue As ISfcConnection 

returnValue = instance.GetConnectionObject()
public ISfcConnection GetConnectionObject()
public:
ISfcConnection^ GetConnectionObject()
member GetConnectionObject : unit -> ISfcConnection
public function GetConnectionObject() : ISfcConnection

戻り値

型: Microsoft.SqlServer.Management.Common.ISfcConnection
SQL Server のインスタンスへの接続を表す ISfcConnection インターフェイス オブジェクトの値です。

説明

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

関連項目

参照

RegisteredServer クラス

Microsoft.SqlServer.Management.RegisteredServers 名前空間