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 作業,例如「重新開機服務」。 可以與上述 grbit 結合以繼續特定服務,或0x0繼續所有先前停止的服務。 |
警告
如果您執行JET_bitStopServiceAll或JET_bitStopServiceAPI,則此位只能用來繼續JET_bitStopServiceBackground和JET_bitStopServiceQuiesceCaches,嘗試使用JET_bitStopServiceResume將會失敗。