Api.JetOSSnapshotFreeze 方法
启动快照。 当快照正在进行时,引擎不会发生写入磁盘活动。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'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
)
参数
快照
类型: Microsoft.Isam.Esent.Interop.JET_OSSNAPID快照会话。
numInstances
类型: System.Int32返回属于快照会话的实例数。
instances
类型:[]返回有关属于快照会话的实例的信息。
grbit
类型: Microsoft.Isam.Esent.Interop.SnapshotFreezeGrbit快照冻结选项。