Data.DB.TDataSet.PSGetCommandType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PSGetCommandType: TPSCommandType; virtual;

C++

virtual TPSCommandType __fastcall PSGetCommandType();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

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