HostName Property (SqlService Class)

Gets the host name of the service.

Syntax


object.HostName [= value]  

Parts

object
A SqlService Class object that represents the service.

Property Value/Return Value

A string value that specifies the host name of the service.

Remarks

See Also

Starting and Stopping Services