DataConnectionClientService<T>.Connection プロパティ

現在のデータ接続をデータのクライアント サービスに関連付けられているを取得します。

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

構文

'宣言
Protected ReadOnly Property Connection As IVsDataConnection
protected IVsDataConnection Connection { get; }
protected:
property IVsDataConnection^ Connection {
    IVsDataConnection^ get ();
}
member Connection : IVsDataConnection
function get Connection () : IVsDataConnection

プロパティ値

型 : Microsoft.VisualStudio.Data.Services.IVsDataConnection
データ ソースへの接続を表す IVsDataConnection のオブジェクト。

.NET Framework セキュリティ

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

参照

関連項目

DataConnectionClientService<T> クラス

Microsoft.VisualStudio.Data.Framework 名前空間