Service.AcceptsPause 属性

定义

获取 Boolean 属性值,该值指定 SQL Server 服务是否可以暂停。

public:
 property bool AcceptsPause { bool get(); };
public bool AcceptsPause { get; }
member this.AcceptsPause : bool
Public ReadOnly Property AcceptsPause As Boolean

属性值

Boolean

一个 Boolean 值,该值指定 SQL Server 服务是否可以暂停。

如果为 True,则可以暂停服务。

如果为 False(默认值),则无法暂停服务。

示例

使用 WMI 提供程序管理服务和网络设置

适用于