| title | setServerName 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 | 70920828-eda0-4064-be9f-c1e460db8f00 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Sets the name of the computer that is running [!INCLUDEssNoVersion].
public void setServerName(java.lang.String serverName)
serverName
A String that contains the server name.
The server name is the host name of the target computer that is running [!INCLUDEssNoVersion]. If the serverName property is not set, getServerName returns the default value of null.