--- title: "ConnectionString 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: - "ConnectionString Property (SqlServerAlias Class)" api_location: - "sqlmgmproviderxpsp2up.mof" topic_type: - "apiref" helpviewer_keywords: - "ConnectionString property" ms.assetid: 8a3692b9-3a34-42e2-b0b9-28e6bd3a7aba author: CarlRabeler ms.author: carlrab manager: craigg --- # ConnectionString Property (SqlServerAlias Class) Gets the connection string that is used to establish the connection for the server connection alias. ## Syntax ``` object .ConnectionString [= 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 that specifies the connection string that is used to establish the connection for the server connection alias. ## Remarks