Truncates the log for a specified instance during a snapshot session.
Namespace: Microsoft.Isam.Esent.Interop.Vista
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetOSSnapshotTruncateLogInstance ( _
snapshot As JET_OSSNAPID, _
instance As JET_INSTANCE, _
grbit As SnapshotTruncateLogGrbit _
)
'Usage
Dim snapshot As JET_OSSNAPID
Dim instance As JET_INSTANCE
Dim grbit As SnapshotTruncateLogGrbitVistaApi.JetOSSnapshotTruncateLogInstance(snapshot, _
instance, grbit)
public static void JetOSSnapshotTruncateLogInstance(
JET_OSSNAPID snapshot,
JET_INSTANCE instance,
SnapshotTruncateLogGrbit grbit
)
Parameters
-
snapshot
Type: Microsoft.Isam.Esent.Interop.JET_OSSNAPIDThe snapshot identifier.
-
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe instance to truncat the log for.
-
grbit
Type: Microsoft.Isam.Esent.Interop.Vista.SnapshotTruncateLogGrbitOptions for this call.
Remarks
This function should be called only if the snapshot was created with the ContinueAfterThaw option. Otherwise, the snapshot session ends after the call to JetOSSnapshotThaw(JET_OSSNAPID, SnapshotThawGrbit).
See also
Reference
Microsoft.Isam.Esent.Interop.Vista namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
