Share via


Service.AcceptsStop Property

Definition

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

Applies to