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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - .NET プログラミング » Ultra Light .NET 2.0 API リファレンス » ULCommand クラス » ULCommand コンストラクタ

 

ULCommand(String) コンストラクタ

ULCommand オブジェクトを、指定されたコマンド・テキストで初期化します。

構文
Visual Basic
Public Sub New( _
   ByVal cmdText As String _
)
C#
public  ULCommand(
   string  cmdText
);
パラメータ
  • cmdText   ULCommand.CommandType が System.Data.CommandType.TableDirect である場合の、SQL 文のテキストまたはテーブルの名前。パラメータ化された文の場合、疑問符 (?) プレースホルダを使用してパラメータを渡します。

備考

ULCommand オブジェクトに ULCommand.Connection と ULCommand.Transaction が設定されていないと、文を実行できません。

参照