Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the DNS host name of the given instance of SQL Server and its connected port number.
void ConnectionCheckForData (
void * ConnectionObject,
char * Username);
ConnectionGetSvrUser returns the DNS host name and port number for a given instance of SQL Server only when the Connection object is using TCP/IP. For other network protocols, it returns NULL.
Applies To: Connection Object (Net-Library)
Please sign in to use this experience.
Sign in