Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server
Gets the name of the instance of Microsoft SQL Server specified by the server connection alias.
Syntax
object.ServerName [= value]
Parts
object
A SqlServerAlias Class object that represents a SQL Server alias.
Property Value/Return Value
A string value that specifies the name of the instance of SQL Server referenced by the server connection alias.