setServerName Method (SQLServerDataSource)

Sets the name of the computer that is running SQL Server.


public void setServerName(java.lang.String serverName)

Parameters

serverName

A String that contains the server name.

The server name is the host name of the target computer that is running SQL Server. If the serverName property is not set, getServerName returns the default value of null.

Show: