Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
この SACommand で記述される SQL 文またはストアドプロシージャの非同期実行を開始し、サーバから 1 つまたは複数の結果セットを取得します。
Public Function BeginExecuteReader( ByVal behavior As CommandBehavior ) As IAsyncResult
public IAsyncResult BeginExecuteReader(CommandBehavior behavior)
behavior クエリの結果の記述と、接続への影響の記述の System.Data.CommandBehavior フラグのビット単位の組み合わせ。
ポーリング、結果の待機、または両方に使用できる System.IAsyncResult。この値は、返されたローを取得するために使用する SADataReader オブジェクトを返す、EndExecuteReader(IAsyncResult) を起動する場合にも必要です。
SAException クラス コマンドテキストの実行中に発生したエラー。
非同期コマンドでは、パラメータの順序は CommandText と一致している必要があります。