AdoDotNetConnectionSupport.PreparedCommands プロパティ

前に用意されている IDbCommand オブジェクトのリストを取得します。

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

構文

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

プロパティ値

型 : System.Collections.IList
IDbCommand の準備したインスタンスを含む IList オブジェクトのインスタンスを返します。

解説

クライアントが Prepare のメソッドを呼び出すと、AdoDotNetConnectionSupport のクラスは IDbCommand の新しいオブジェクトを作成し、コマンドを準備します。Prepare メソッドの戻り値は Prepared の型の 1 に渡すことができる文字列です。Prepared 型とともに Execute のメソッド。Execute のメソッドは、文字列から IDbCommand の既存の型を識別します。

.NET Framework セキュリティ

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

参照

関連項目

AdoDotNetConnectionSupport クラス

Microsoft.VisualStudio.Data.AdoDotNet 名前空間