FireDAC.Comp.Client.TFDCustomCommand.State

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property State: TFDPhysCommandState read GetState;

C++

__property Firedac::Phys::Intf::TFDPhysCommandState State = {read=GetState, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomCommand

Description

Returns the current state of the command object.

The State property returns the current state of the command object. It has one of the following values:

Value

Description

csInactive

The command is not prepared for execution.

csPrepared

The command is prepared for execution.

csExecuting

The command is executing.

csOpen

The command is executed and it has active cursor.

csFetching

The command is fetching rows.

csAborting

The command is aborting the current operation.

The csExecuting, csFetching, csAborting values are "visible" if the command is executing asynchronously, or the State property is checked from other thread rather than from the performing operation.

See Also