Bde.DBTables.TStoredProc.PSGetCommandType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PSGetCommandType: TPSCommandType; override;

C++

virtual Data::Db::TPSCommandType __fastcall PSGetCommandType();

Properties

Type Visibility Source Unit Parent
function protected
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TStoredProc

Description

Gets the command type to be executed by PSExecute.

Bde.DBTables.TStoredProc.PSGetCommandType inherits from Data.DB.TDataSet.PSGetCommandType. All content below this line refers to Data.DB.TDataSet.PSGetCommandType.

Gets the command type to be executed by PSExecute.

PSGetCommandType gets the command type to be executed by PSExecute. The type may be a type of SQL command or other command types, such as stored procedures.

This method is an implementation of the IProviderSupport.PSGetCommandType method and, by default, returns ctUnknown, because TDataSet does not implement a provider by default. To use it, every TDataSet descendant must override it in its specific way.

See Also