Api.JetUnregisterCallback 方法
將資料庫引擎設定為停止發出通知給應用程式,如先前透過 JetRegisterCallback (JET_SESID、JET_TABLEID、JET_cbtyp、JET_CALLBACK、IntPtr JET_HANDLE) 要求。
Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'Declaration
Public Shared Sub JetUnregisterCallback ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
cbtyp As JET_cbtyp, _
callbackId As JET_HANDLE _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim cbtyp As JET_cbtyp
Dim callbackId As JET_HANDLEApi.JetUnregisterCallback(sesid, _
tableid, cbtyp, callbackId)
public static void JetUnregisterCallback(
JET_SESID sesid,
JET_TABLEID tableid,
JET_cbtyp cbtyp,
JET_HANDLE callbackId
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的會話。
tableid
類型: Microsoft.Isam.Esent.Interop.JET_TABLEID在資料表上開啟的資料指標,該資料表應該註冊回呼。
cbtyp
類型: Microsoft.Isam.Esent.Interop.JET_cbtyp應用程式不再想要接收通知的回呼原因。
callbackId
類型: Microsoft.Isam.Esent.Interop.JET_HANDLEJetRegisterCallback (JET_SESID、JET_TABLEID、JET_cbtyp、JET_CALLBACK、IntPtr JET_HANDLE) 傳回的已註冊回呼控制碼。