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.

Remarks

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.

See Also