Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.15 KB

File metadata and controls

44 lines (35 loc) · 1.15 KB
title ServiceName Property (SqlService)
ms.custom seo-lt-2019
ms.date 03/04/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology wmi
ms.topic reference
apiname
ServiceName Property (SqlService Class)
apilocation
sqlmgmproviderxpsp2up.mof
apitype MOFDef
helpviewer_keywords
ServiceName property
ms.assetid 8ac7387b-c3ae-4e45-b2cc-ebab3f83bfb2
author CarlRabeler
ms.author carlrab

ServiceName Property (SqlService Class)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md] Gets the name of the service.

Syntax

  
object.ServiceName [= value]  

Parts

object
A SqlService Class object that represents the service.

Property Value/Return Value

A string value that specifies the name of the service.

Remarks

See Also

Starting and Stopping Services