title ServerName Property (SqlServerAlias) ms.custom seo-lt-2019 ms.date 03/14/2017 ms.prod sql ms.prod_service database-engine ms.reviewer ms.technology wmi ms.topic reference apiname ServerName Property (SqlServerAlias Class) apilocation sqlmgmproviderxpsp2up.mof apitype MOFDef helpviewer_keywords ServerName property ms.assetid 58c82b19-b548-42fa-9c5a-059b606da097 author CarlRabeler ms.author carlrab ServerName Property (SqlServerAlias Class) [!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md] Gets the name of the instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] specified by the server connection alias. Syntax object.ServerName [= value] Parts object A SqlServerAlias Class object that represents a [!INCLUDEssNoVersion] alias. Property Value/Return Value A string value that specifies the name of the instance of [!INCLUDEssNoVersion] referenced by the server connection alias. Remarks