Share via


MSFT_WvrReplica class

Represents a partition.

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

Syntax

[dynamic, provider("wvrcimprov"), AMENDMENT]
class MSFT_WvrReplica
{
  string   PartitionId;
  string   DataVolume;
  uint64   PartitionSize;
  uint64   NumOfBytesRecovered;
  uint64   NumOfBytesRemaining;
  uint64   CurrentLsn;
  uint64   LastKnownPrimaryLsn;
  datetime LastInSyncTime;
  datetime LastOutOfSyncTime;
  uint32   ReplicationMode;
  uint32   ReplicationStatus;
};

Members

The MSFT_WvrReplica class has these types of members:

Properties

The MSFT_WvrReplica class has these properties.

CurrentLsn

Data type: uint64

Access type: Read-only

Current sequence number of the log.

DataVolume

Data type: string

Access type: Read-only

Full path of the data partition.

LastInSyncTime

Data type: datetime

Access type: Read-only

The last time this replica was in sync.

LastKnownPrimaryLsn

Data type: uint64

Access type: Read-only

Latest log sequence number from source replica.

LastOutOfSyncTime

Data type: datetime

Access type: Read-only

The last time this replica was out of sync.

NumOfBytesRecovered

Data type: uint64

Access type: Read-only

Data recovered in bytes.

NumOfBytesRemaining

Data type: uint64

Access type: Read-only

Data to be recovered in bytes.

PartitionId

Data type: string

Access type: Read-only

Qualifiers: key

The GUID identifying the partition.

PartitionSize

Data type: uint64

Access type: Read-only

Size of partition in bytes.

ReplicationMode

Data type: uint32

Access type: Read-only

Whether the replication is performed synchronously or asynchronously.

The possible values are.

Sync (1)

Async (2)

ReplicationStatus

Data type: uint32

Access type: Read-only

Current status of the replica.

The possible values are.

ContinuouslyReplicating (1)

WaitingForQuorum (2)

RecoveringFromReplicationLog (3)

Failed (4)

ReplicationSuspended (5)

ConnectingToSource (6)

WaitingForDestination (7)

LogRecordCopyFromSource (8)

BlockCopyFromSource (9)

InitialBlockCopy (10)

ContinuouslyReplicating_OutOfRPO (11)

ContinuouslyReplicating_InRPO (12)

LogRecordCopyToDestination (13)

BlockCopyToDestination (14)

NotInPartnership (15)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
WVRCimProv.Mof
DLL
WvrCimProv.dll

See also

MSFT_WvrReplicationGroup