FireDAC.Comp.Client.TFDRdbmsDataSet.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
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDRdbmsDataSet

Description


Gets the command type to be executed by PSExecute.

FireDAC.Comp.Client.TFDRdbmsDataSet.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