| title | getServerName Method (SQLServerDataSource) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | 3004ed22-5d69-4dd0-8761-d39f0b7dde13 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Returns the name of the [!INCLUDEssNoVersion] instance.
public java.lang.String getServerName()
A String that contains the server name or null if no value is set.
The server name is the host name of the target computer that is running [!INCLUDEssNoVersion]. If the getServerName property is not set, getServerName returns the default value of null.