Microsoft SDK for Java

AdoEnums.CommandType Class Fields

The CommandType class contains the fields shown in the following table.

Constant Value Description
UNSPECIFIED -1 Does not specify the command type argument.
UNKNOWN 8 Default. Indicates that the type of command in the CommandText property is not known.
TEXT 1 Evaluates CommandText as a textual definition of a command or stored procedure call.
TABLE 2 Evaluates CommandText as a table name whose columns are all returned by an internally generated SQL query.
STOREDPROC 4 Evaluates CommandText as a stored procedure name.
FILE 256 Evaluates CommandText as the file name of a persisted Recordset.
TABLEDIRECT 512 Evaluates CommandText as a table name whose columns are all returned.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.