VistaApi.JetOSSnapshotTruncateLogInstance method

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

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