<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Command > ADODB_Command Properties > <ADODB_Command>.CommandType |
Description
Sets or returns a CommandTypeEnum value that defines the type of the Command object. Default is adCmdUnknown.
If you do not specify the type, ADO will need to contact the provider to determine the type of the command.
However, if you do specify the type, ADO will be able to process the command faster.
Syntax
GET
n = <ADODB_Connection>.CommandType
SET
<ADODB_Connection>.CommandType = CommandType
Returns
Number: one of the CommandType values.
Parameters
Name |
Type |
Optional |
Meaning |
CommandType |
Number |
Yes |
One of the CommandTypeEnum values. |
Remarks
Restrictions
See also
Examples