Api.JetOSSnapshotFreeze-Methode
Startet eine Momentaufnahme. Während die Momentaufnahme in Bearbeitung ist, kann keine Schreib-auf-Datenträger-Aktivität durch die Engine stattfinden.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetOSSnapshotFreeze ( _
snapshot As JET_OSSNAPID, _
<OutAttribute> ByRef numInstances As Integer, _
<OutAttribute> ByRef instances As JET_INSTANCE_INFO(), _
grbit As SnapshotFreezeGrbit _
)
'Usage
Dim snapshot As JET_OSSNAPID
Dim numInstances As Integer
Dim instances As JET_INSTANCE_INFO()
Dim grbit As SnapshotFreezeGrbitApi.JetOSSnapshotFreeze(snapshot, _
numInstances, instances, grbit)
public static void JetOSSnapshotFreeze(
JET_OSSNAPID snapshot,
out int numInstances,
out JET_INSTANCE_INFO[] instances,
SnapshotFreezeGrbit grbit
)
Parameter
Momentaufnahme
Typ: Microsoft.Isam.Esent.Interop.JET_OSSNAPIDDie Momentaufnahmesitzung.
numInstances
Typ: System.Int32Gibt die Anzahl der Instanzen zurück, die Teil der Momentaufnahmesitzung sind.
instances
Typ: []Gibt Informationen zu den Instanzen zurück, die Teil der Momentaufnahmesitzung sind.
grbit
Typ: Microsoft.Isam.Esent.Interop.SnapshotFreezeGrbitOptionen zum Einfrieren von Momentaufnahmen.