Share via


StopServiceGrbit 列舉

JetStopServiceInstance2 (JET_INSTANCE、StopServiceGrbit) 選項。

此列舉有 FlagsAttribute 屬性,因此其成員值可進行位元組合。

Namespace:Microsoft.Isam.Esent.Interop.Windows8
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

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

成員

成員名稱 描述
全部 停止指定實例的所有 ESE 服務。
BackgroundUserTasks (B+ 樹狀結構重組) 停止可重新開機的用戶端特定背景維護工作。
QuiesceCaches 停止所有已變更的快取到磁片。 非同步: 如果後續呼叫 Resume 位,就會取消停止。
繼續 繼續先前發出的 StopService 作業,也就是「重新開機服務」。 可以結合上述 grbits 以繼續特定服務,或搭配0x0繼續所有先前停止的服務。

警告

如果您執行了JET_bitStopServiceAll或JET_bitStopServiceAPI,則此位只能用來繼續JET_bitStopServiceBackground和JET_bitStopServiceQuiesceCaches,嘗試使用JET_bitStopServiceResume將會失敗。

另請參閱

參考

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