IVsDataExplorerConnectionManager.RemoveConnection メソッド

サーバー エクスプローラーから既存のデータ接続を削除します。

名前空間:  Microsoft.VisualStudio.Data.Services
アセンブリ:  Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)

構文

'宣言
Sub RemoveConnection ( _
    explorerConnection As IVsDataExplorerConnection _
)
void RemoveConnection(
    IVsDataExplorerConnection explorerConnection
)
void RemoveConnection(
    IVsDataExplorerConnection^ explorerConnection
)
abstract RemoveConnection : 
        explorerConnection:IVsDataExplorerConnection -> unit 
function RemoveConnection(
    explorerConnection : IVsDataExplorerConnection
)

パラメーター

例外

例外 条件
ArgumentNullException

explorerConnection パラメーターが nullnull 参照 (Visual Basic では Nothing) です。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

IVsDataExplorerConnectionManager インターフェイス

Microsoft.VisualStudio.Data.Services 名前空間