--- title: "AliasName 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: - "AliasName Property (SqlServerAlias Class)" apilocation: - "sqlmgmproviderxpsp2up.mof" helpviewer_keywords: - "AliasName property" ms.assetid: 5c4c88f3-c1cf-471a-9d91-f47657933e2f author: "CarlRabeler" ms.author: "carlrab" --- # AliasName Property (SqlServerAlias Class) [!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)] Gets the name of the server connection alias. ## Syntax ``` object.AliasName [= value] ``` ## Parts *object* A [SqlServerAlias Class](../../../relational-databases/wmi-provider-configuration-classes/sqlserveralias-class/sqlserveralias-class.md) object that represents a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] alias. ## Property Value/Return Value A **string** value that specifies the name of the server connection alias. ## Remarks