Data.Win.ADODB.TCustomADODataSet.SetConnectionFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetConnectionFlag(Flag: Integer; Value: Boolean): Boolean; virtual;

C++

virtual bool __fastcall SetConnectionFlag(int Flag, bool Value);

Properties

Type Visibility Source Unit Parent
function protected
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

Description

Specifies whether an action is performed on the database.

The SetConnectionFlag method is used internally to specify whether an action is performed on the database. SetConnectionFlag is useful when multiple actions are performed using the same connection. This way, the connection remains open until all the actions are completed. The flags specify the type of action performed.

See Also