Freigeben über


getServerName Method (SQLServerDataSource)

Returns the name of the SQL Server instance.

public java.lang.String getServerName()

Rückgabewert

A String that contains the server name, or null if no value is set.

Hinweise

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.

Siehe auch

Referenz

SQLServerDataSource Class

Konzepte

SQLServerDataSource Methods
SQLServerDataSource Members