Show: Delphi C++
Display Preferences

Data.Win.ADODB.TADOConnection.ConnectOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ConnectOptions: TConnectOption read FConnectOptions write SetConnectOptions default coConnectUnspecified;

C++

__property TConnectOption ConnectOptions = {read=FConnectOptions, write=SetConnectOptions, default=0};

Properties

Type Visibility Source Unit Parent
property published
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TADOConnection

Description

Specifies whether a connection is synchronous or asynchronous.

Set ConnectOptions to specify whether the connection established by the TADOConnection is synchronous or asynchronous. The default value for ConnectOptions is coConnectUnspecified.

An application will typically use the default of a synchronous connection (coConnectUnspecified). Typically an asynchronous is only really needed to compensate for a slow server.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance