SE_connection_get_server_name

Retrieves the name of the server

Usage syntax

LONG SE_connection_get_server_name (SE_CONNECTION connection, CHAR *server_name);

Parameters
connection The connection handle
server_name The server name
Description

SE_connection_get_server_name returns the name of the server for the specified connection. Allocate at least SE_MAX_SERVER_LEN bytes to the server_name argument.

Returns

SE_SUCCESS
SE_CONNECTION_LOCKED

SE_INVALID_CONNECTION

SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED