Gets or sets how the CommandText property is to be interpreted.
[Visual Basic] Overridable Public Property CommandType As CommandType [C#] public CommandType CommandType {virtual get; virtual set;} [C++] public: __property virtual CommandType get_CommandType(); public: __property virtual void set_CommandType(CommandType); [JScript] public function get CommandType() : CommandType; public function set CommandType(CommandType);
One of the CommandType values. The default is Text.
Exception Type | Condition |
---|---|
InvalidCommandType | The value was not one of the CommandType values. |
DBCommand Class | DBCommand Members | System.Data.Internal Namespace | CommandText | UpdatedRowSource