Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere .NET 2.0 API リファレンス » iAnywhere.Data.SQLAnywhere ネームスペース (.NET 2.0) » SACommand クラス » SACommand コンストラクタ

 

SACommand(String, SAConnection, SATransaction) コンストラクタ

SQL Anywhere データベースに対して実行される SQL 文またはストアド・プロシージャです。

構文
Visual Basic

Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As SAConnection, _
   ByVal transaction As SATransaction _
)
C#

public  SACommand(
   string  cmdText,
   SAConnection connection,
   SATransaction transaction
);
パラメータ
  • cmdText   SQL 文またはストアド・プロシージャのテキスト。パラメータ化された文の場合、疑問符 (?) プレースホルダを使用してパラメータを渡します。

  • connection   現在の接続。

  • transaction   SAConnection が実行される SATransaction オブジェクト。

参照