大网数据广告活动
Hyper-V与虚拟化

Msvm_ReplicationStatistics class

· 52CE 我爱测

Provides replication statistics for a virtual machine.

Provides replication statistics for a virtual machine. These statistics cover the duration specified by the MonitoringStartTime and MonitoringInterval properties of the Msvm_ReplicationServiceSettingData class.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_ReplicationStatistics : CIM_ManagedElement
{
  string   InstanceID;
  string   Caption;
  string   Description;
  string   ElementName;
  datetime StartStatisticTime;
  datetime EndStatisticTime;
  uint32   ReplicationSuccessCount;
  uint64   ReplicationSize;
  uint64   MaxReplicationSize;
  uint32   ReplicationLatency;
  uint32   ReplicationMissCount;
  uint32   MaxReplicationLatency;
  uint32   NetworkFailureCount;
  uint32   ReplicationFailureCount;
  uint64   PendingReplicationSize;
  uint32   ApplicationConsistentSnapshotFailureCount;
  uint32   ReplicationHealth;
  datetime LastTestFailoverTime;
};

Members

The Msvm_ReplicationStatistics class has these types of members:

Properties

The Msvm_ReplicationStatistics class has these properties.

ApplicationConsistentSnapshotFailureCount

Data type: uint32

Access type: Read-only

The total number of VSS snapshot failures.

Caption

Data type: string

Access type: Read-only

A short description of the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

ElementName

Data type: string

Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

EndStatisticTime

Data type: datetime

Access type: Read-only

The time, in UTC, when the Hyper-V Replica service stopped gathering replication statistics data. At this time, a new replication statistics cycle starts.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement, and it is always set to Null.

LastTestFailoverTime

Data type: datetime

Access type: Read-only

Indicates the last time a test replica system was created for a replication enabled virtual machine on the recovery server.

MaxReplicationLatency

Data type: uint32

Access type: Read-only

The maximum amount of time taken to complete a single replication cycle, in seconds.

MaxReplicationSize

Data type: uint64

Access type: Read-only

Maximum replication data transferred to the recovery host system, in bytes. This represents the maximum size of replication data sent over a single cycle for this interval.

NetworkFailureCount

Data type: uint32

Access type: Read-only

The total number of network errors encountered for the replication channel with recovery host system.

PendingReplicationSize

Data type: uint64

Access type: Read-only

The size of the data for a pending replication, in bytes.

ReplicationFailureCount

Data type: uint32

Access type: Read-only

The total number of replication failures. This includes errors for replication operation.

ReplicationHealth

Data type: uint32

Access type: Read-only

The replication health for the virtual machine. This will be one of the following values.

Not applicable (0)

Ok (1)

Warning (2)

Critical (3)

ReplicationLatency

Data type: uint32

Access type: Read-only

Total replication latency while transferring the data to the recovery host system, in seconds.

ReplicationMissCount

Data type: uint32

Access type: Read-only

The number of missed replication cycles. This can be because of heavy workload, network issues, or replication errors.

ReplicationSize

Data type: uint64

Access type: Read-only

The total amount of replication data transferred to the recovery host system, in bytes.

ReplicationSuccessCount

Data type: uint32

Access type: Read-only

The total number of successful replications for the virtual machine.

StartStatisticTime

Data type: datetime

Access type: Read-only

The time, in UTC, when the Hyper-V Replica service started gathering replication statistics data.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Namespace Root\Virtualization\V2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。