Command Object Properties

The following properties can be used with the optional Command Object.

Command Object Properties

Property

Description

ActiveConnection

Associates the Command object with a Connection Object.

CommandText

Specifies what query the command will execute.

CommandTimeout

The amount of time before the command times out.

CommandType

This property tells the provider what type of query the command will execute.

Prepared

Indicates whether the command should be compiled for later use.