Edit

Share via


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

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

VistaApi class

VistaApi members

Microsoft.Isam.Esent.Interop.Vista namespace