--- title: "ServiceName Property (SqlServiceAdvancedProperty 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: - "ServiceName Property (SqlServiceAdvancedProperty Class)" api_location: - "sqlmgmproviderxpsp2up.mof" topic_type: - "apiref" helpviewer_keywords: - "ServiceName property" ms.assetid: 6d857b8d-77ed-4014-b1b0-e0e3d5e943c8 author: CarlRabeler ms.author: carlrab manager: craigg --- # ServiceName Property (SqlServiceAdvancedProperty Class) Gets the name of the managed service that is associated with the advanced property. ## Syntax ``` object .ServiceName [= value] ``` ## Parts *object* A [SqlServiceAdvancedProperty Class](sqlserviceadvancedproperty-class.md) object that represents an advanced property. ## Property Value/Return Value A string value that specifies the name of the service that is associated with the advanced property. ## Remarks ## See Also [Starting and Stopping Services](https://technet.microsoft.com/library/ms174886\(v=sql.105\).aspx)