Advantage Database Server

AdsMgGetServerType

Advantage Client Engine

AdsMgGetServerType

Advantage Client Engine

This is the first topic This is the last topic  

AdsMgGetServerType

Advantage Client Engine

This is the first topic This is the last topic  

Returns the Advantage server type of the current management API connection

Syntax

UNSIGNED32

AdsMgGetServerType ( ADSHANDLE hMgmtConnect,

UNSIGNED16 *pusServerType );

Parameters

hMgmtConnect (I)

Management API connection handle.

pusServerType (O)

Advantage server type of the current management API connection.

Remarks

AdsMgGetServerType returns the Advantage server type of the current management connection.

If connected to the Advantage Database Server for NetWare, and the version of NetWare 4.x, ADS_MGMT_NETWARE4_OR_OLDER_SERVER is returned. If connected to the Advantage Database Server for NetWare, and the version of NetWare is 5 or greater, ADS_MGMT_NETWARE5_OR_NEWER_SERVER is returned.

If connected to the Advantage Database Server for Windows, ADS_MGMT_NT_SERVER or ADS_MGMT_NT_SERVER_64_BIT is returned.

If connected to the Advantage Local Server, ADS_MGMT_LOCAL_SERVER is returned.

If connected to the Advantage Database Server for Linux, ADS_MGMT_LINUX_SERVER or ADS_MGMT_LINUX_SERVER_64_BIT is returned.

Example

Click Here

See Also

AdsMgConnect

AdsGetConnectionType