Api.JetOSSnapshotPrepare method
Begins the preparations for a snapshot session. A snapshot session is a short time interval in which the engine does not issue any write IOs to disk, so that the engine can participate in a volume snapshot session (when driven by a snapshot writer).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetOSSnapshotPrepare ( _
<OutAttribute> ByRef snapshot As JET_OSSNAPID, _
grbit As SnapshotPrepareGrbit _
)
'Usage
Dim snapshot As JET_OSSNAPID
Dim grbit As SnapshotPrepareGrbitApi.JetOSSnapshotPrepare(snapshot, _
grbit)
public static void JetOSSnapshotPrepare(
out JET_OSSNAPID snapshot,
SnapshotPrepareGrbit grbit
)
Parameters
snapshot
Type: Microsoft.Isam.Esent.Interop.JET_OSSNAPIDReturns the ID of the snapshot session.
grbit
Type: Microsoft.Isam.Esent.Interop.SnapshotPrepareGrbitSnapshot options.