Méthode VistaApi. JetOSSnapshotTruncateLog
Active la troncation du journal pour toutes les instances qui font partie de la session d’instantané.
Espace de noms : Microsoft. ISAM. esent. Interop. Vista
Assembly : Microsoft. ISAM. esent. Interop (en Microsoft.Isam.Esent.Interop.dll)
Syntaxe
'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
)
Paramètres
instantané
Type : Microsoft.ISAM.esent.Interop.JET_OSSNAPIDIdentificateur de l’instantané.
grbit
Type : Microsoft. ISAM. esent. Interop. Vista. SnapshotTruncateLogGrbitOptions pour cet appel.
Remarques
Cette fonction doit être appelée uniquement si l’instantané a été créé avec l’option ContinueAfterThaw . Dans le cas contraire, la session d’instantané se termine après l’appel à JetOSSnapshotThaw (JET_OSSNAPID, SnapshotThawGrbit).