StopServiceGrbit 枚举

JetStopServiceInstance2 (JET_INSTANCE、StopServiceGrbit) 的选项。

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

Namespace:Microsoft.Isam.Esent.Interop.Windows8
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
<FlagsAttribute> _
Public Enumeration StopServiceGrbit
'Usage
Dim instance As StopServiceGrbit
[FlagsAttribute]
public enum StopServiceGrbit

成员

成员名称 说明
全部 停止指定实例的所有 ESE 服务。
BackgroundUserTasks 停止可重启的客户端特定的后台维护任务 (B+ 树碎片整理) 。
QuiesceCaches 将所有脏缓存静止到磁盘。 异步。 如果随后调用 Resume 位,则会取消静止。
继续 恢复以前发出的 StopService 操作,即“重启服务”。 可以与上述 grbit 结合使用以恢复特定服务,或与0x0恢复以前停止的所有服务。

警告

此位只能用于恢复JET_bitStopServiceBackground和JET_bitStopServiceQuiesceCaches,如果执行了JET_bitStopServiceAll或JET_bitStopServiceAPI,则尝试使用JET_bitStopServiceResume将失败。

另请参阅

参考

Microsoft.Isam.Esent.Interop.Windows8 命名空间