MyDAC

TCustomDAConnection.Options Property

Specifies the connection behavior.

Class

TCustomDAConnection

Syntax

property Options: TDAConnectionOptions;

Remarks

Set the properties of Options to specify the behaviour of the connection.

Descriptions of all options are in the table below.

Option Name Description
AllowImplicitConnect Specifies whether to allow or not implicit connection opening.
DefaultSortType Used to determine the default type of local sorting for string fields. It is used when a sort type is not specified explicitly after the field name in the TMemDataSet.IndexFieldNames property of a dataset.
DisconnectedMode Used to open a connection only when needed for performing a server call and closes after performing the operation.
KeepDesignConnected Used to prevent an application from establishing a connection at the time of startup.
LocalFailover If True, the OnConnectionLost event occurs and a failover operation can be performed after connection breaks.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback