Metodo getServerName (SQLServerDataSource)

Scaricare il driver JDBC

Restituisce il nome dell'istanza di SQL Server.

Sintassi

  
public java.lang.String getServerName()  

Valore restituito

Valore String contenente il nome del server o Null se non viene impostato alcun valore.

Commenti

Il nome del server è il nome host del computer di destinazione che esegue SQL Server. Se la proprietà getServerName non è impostata, getServerName restituisce il valore predefinito Null.

Vedere anche

Membri di SQLServerDataSource
Classe SQLServerDataSource