Gets or sets the behavior the SQLCommand is to exhibit when executed.
[Visual Basic] Overridable Public Property CommandBehavior As DBCommandBehavior [C#] public DBCommandBehavior CommandBehavior {override get; override set;} [C++] public: __property virtual DBCommandBehavior get_CommandBehavior(); public: __property virtual void set_CommandBehavior(DBCommandBehavior); [JScript] public function get CommandBehavior() : DBCommandBehavior; public function set CommandBehavior(DBCommandBehavior);
One of the DBCommandBehavior values. The default is 0.
SQLCommand Class | SQLCommand Members | System.Data.SQL Namespace | CommandText | CommandTimeout | CommandType | ActiveConnection