Advantage Client Engine
Retrieves the server name associated with a connection
UNSIGNED32 |
AdsGetServerName (ADSHANDLE hConnect, UNSIGNED8 *pucName, UNSIGNED16 *pusLen); |
hConnect (I) |
Valid connection handle. |
pucName (O) |
Return the server name in this buffer. |
pusLen (I/O) |
Length of buffer on input, length of name on output. |
AdsGetServerName returns the name of the server on which the connected Advantage server is loaded. The server name will not include any volume or share information. If accessing data on a local drive and using Advantage Local Server, the drive letter is returned.
None.