データ リーダーのオブジェクトを使用して AdoDotNetSchemaReader クラスの新しいインスタンスを初期化し、データ オブジェクトは、コマンド。
名前空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Public Sub New ( _
reader As DbDataReader, _
command As DbCommand _
)
public AdoDotNetSchemaReader(
DbDataReader reader,
DbCommand command
)
public:
AdoDotNetSchemaReader(
DbDataReader^ reader,
DbCommand^ command
)
new :
reader:DbDataReader *
command:DbCommand -> AdoDotNetSchemaReader
public function AdoDotNetSchemaReader(
reader : DbDataReader,
command : DbCommand
)
パラメーター
- reader
型 : System.Data.Common.DbDataReader
結果セットとスキーマを含む DbDataReader のオブジェクト。
- command
型 : System.Data.Common.DbCommand
コマンドをカプセル化 DbCommand のオブジェクトは Terminate のメソッド実装がコマンドの CancelAsync を呼び出すようにしたデータ ソースに対して実行しました。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。