--- title: "ServiceName Property (SqlServiceAdvancedProperty)" ms.custom: seo-lt-2019 ms.date: "03/03/2017" ms.prod: sql ms.prod_service: "database-engine" ms.reviewer: "" ms.technology: wmi ms.topic: "reference" apiname: - "ServiceName Property (SqlServiceAdvancedProperty Class)" apilocation: - "sqlmgmproviderxpsp2up.mof" apitype: "MOFDef" helpviewer_keywords: - "ServiceName property" ms.assetid: 6d857b8d-77ed-4014-b1b0-e0e3d5e943c8 author: "CarlRabeler" ms.author: "carlrab" --- # ServiceName Property (SqlServiceAdvancedProperty Class) [!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)] Gets the name of the managed service that is associated with the advanced property. ## Syntax ``` object.ServiceName [= value] ``` ## Parts *object* A [SqlServiceAdvancedProperty Class](../../../relational-databases/wmi-provider-configuration-classes/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)