Service.AcceptsStop Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Boolean property value that specifies whether the SQL Server service can be stopped.
public:
property bool AcceptsStop { bool get(); };
public bool AcceptsStop { get; }
member this.AcceptsStop : bool
Public ReadOnly Property AcceptsStop As Boolean
Property Value
A Boolean value that specifies whether the SQL Server service can be stopped.
If True, the service can be stopped.
If False (default), the service cannot be stopped.
Examples
Managing Services and Network Settings by Using WMI Provider