VistaApi.JetOSSnapshotTruncateLog method
Enables log truncation for all instances that are part of the snapshot session.
Namespace: Microsoft.Isam.Esent.Interop.Vista
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetOSSnapshotTruncateLog ( _
snapshot As JET_OSSNAPID, _
grbit As SnapshotTruncateLogGrbit _
)
'Usage
Dim snapshot As JET_OSSNAPID
Dim grbit As SnapshotTruncateLogGrbitVistaApi.JetOSSnapshotTruncateLog(snapshot, _
grbit)
public static void JetOSSnapshotTruncateLog(
JET_OSSNAPID snapshot,
SnapshotTruncateLogGrbit grbit
)
Parameters
snapshot
Type: Microsoft.Isam.Esent.Interop.JET_OSSNAPIDThe snapshot identifier.
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).