Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Returns the name of the SQL Server instance.
Syntax
public java.lang.String getServerName()
Return Value
A String that contains the server name or null if no value is set.
Remarks
The server name is the host name of the target computer that is running SQL Server. If the getServerName property is not set, getServerName returns the default value of null.