ServiceName Property (SqlService Class)

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

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