--- title: "AliasName Property (SqlServerAlias Class) | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: wmi ms.topic: "reference" api_name: - "AliasName Property (SqlServerAlias Class)" api_location: - "sqlmgmproviderxpsp2up.mof" topic_type: - "apiref" helpviewer_keywords: - "AliasName property" ms.assetid: 5c4c88f3-c1cf-471a-9d91-f47657933e2f author: CarlRabeler ms.author: carlrab manager: craigg --- # AliasName Property (SqlServerAlias Class) Gets the name of the server connection alias. ## Syntax ``` object .AliasName [= value] ``` ## Parts *object* A [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