--- title: "InstanceName Property (CInstance 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: - "InstanceName Property (CInstance Class)" api_location: - "sqlmgmproviderxpsp2up.mof" topic_type: - "apiref" helpviewer_keywords: - "InstanceName property" ms.assetid: 806fafa8-bf89-4ce8-a082-8081dde9fcc3 author: CarlRabeler ms.author: carlrab manager: craigg --- # InstanceName Property (CInstance Class) Gets the name of the instance of the [!INCLUDE[msCoName](../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] client. ## Syntax ``` object .InstanceName [= value] ``` ## Parts *object* A [CInstance Class](cinstance-class.md) object that represents a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] client instance. ## Property Value/Return Value A string value that specifies the name of the instance of the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] client. ## Remarks ## See Also [Configure Client Protocols](https://technet.microsoft.com/library/ms181035.aspx)