AdoCommand Class

<< Click to Display Table of Contents >>

Navigation:  Ado Classes >

AdoCommand Class

Previous pageReturn to chapter overviewNext page

Purpose

A definition of a specific command that you intend to execute against a data source

 

Prototype

CLASS AdoCommand INHERIT AdoADO

 

Constructor

constructorCreate Object of type AdoCommand

 

Properties

 

ActiveConnection

The Connection object the Command object currently belongs to

CommandStream

The stream used as the input for a Command object

CommandText

Contains the text of a command that you want to issue against a provider.

CommandTimeout

The timeout value for a command

CommandType

The type of a Command object.

Dialect

The name of the AdoCommand object

Name

The name of the AdoCommand object

NamedParameters

Should parameter names be passed to the provider.

Parameters_

Collection of Parameters

Prepared

Save a compiled version of a command before execution.

State

Is the object open or closed.

 


 


Method


Cancel()

Cancels execution of a pending, asynchronous Execute or Open method call.

CreateParameter()

Creates a new Parameter object

Execute()

Executes command and returns results

 

See Also

AdoADO, AdoRecordSet, AdoConnection, ADO Classes