NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DBCommand.CommandType

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);

Property Value

One of the CommandType values. The default is Text.

Exceptions

Exception Type Condition
InvalidCommandType The value was not one of the CommandType values.

See Also

DBCommand Class | DBCommand Members | System.Data.Internal Namespace | CommandText | UpdatedRowSource