Navigation:  Advantage TDataSet Descendant > Developing and Distributing Applications >

Programmatically Selecting Advantage Server Types

Advantage TDataSet Descendant

Previous pageReturn to chapter overviewNext page

Advantage server types can be selected programmatically using one of three methods:

Setting the TAdsConnection component's AdsServerTypes property:

Selecting Advantage Server Types via the TAdsConnection Component

Setting the TAdsSettings component's AdsServerTypes property:

Selecting Advantage Server Types via the TAdsSettings Component

Setting the value for the ADS_SERVER_TYPE key in the ads.ini file:

Selecting Advantage Server Types via the ADS.INI File

The ADS_SERVER_TYPE setting in the ads.ini will only be used if a TAdsConnection or TAdsSettings component is not used in the application.