Navigation:  Advantage .NET Data Provider > AdsConnection Class > AdsConnection Properties >


Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Returns the type of Advantage Database Server a connection uses.

public string ServerType{ get; }


ServerType returns the type of connection being used as a string. Values returned include:


The Advantage Database Server for Windows or the Advantage Database Server for Linux is in use.


The Advantage Local Server is being used by this connection.


The connection is using an Advantage Internet Server.

It is possible to have connections to each type of Advantage server in one application. If the connection is not open, ServerType will return a string based on the ServerType value in the ConnectionString.

See Also