| title | SqlServerAlias Class | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 06/13/2017 | |
| ms.prod | sql-server-2014 | |
| ms.reviewer | ||
| ms.technology | ||
| ms.topic | reference | |
| api_name |
|
|
| api_location |
|
|
| topic_type |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 475662b9-6985-45bf-b1e9-b0f26ef50443 | |
| author | CarlRabeler | |
| ms.author | carlrab | |
| manager | craigg |
The SqlServerAlias Class class represents a server connection alias.
A server connection alias is required when both the following occur:
-
The client is connecting to an instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] over a network transport that is not the default network transport.
-
The instance of [!INCLUDEssNoVersion] to which the client is connected listens on an alternate named pipe.
Note: The SqlServerAlias Class inherits the Put method from the Provider class. However, it does not return any results as indicated by the Provider::Put method. For more information, see the WMI documentation.