short GetServerListEx(short Index)
Description
This function retrieves the name of the server referenced by the Index parameter. After calling this function, the Value property can be interrogated for the returned value.
Parameters
Name | Description |
---|---|
Index | An index into the list of servers. |
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If you have not defined any database servers, the return value is zero. If the return value is non-zero, you can call GetLastErrorString() or GetLastErrorType() to get additional error information. If you have not defined any databases, the return value is RS_ERROR_OUTOFRANGE.