Compartilhar via


MSFT_SMReplicationGroupToReplicaPeer class

Represents an association between a replication group and a replica peer.

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

Syntax

[Association, Dynamic, Provider("WMIStorage"), AMENDMENT]
class MSFT_SMReplicationGroupToReplicaPeer : MSFT_SMGroupSynchronizedBase
{
  datetime                    WhenSynced;
  boolean                     SyncMaintained;
  uint16                      CopyState;
  string                      CopyStateDescription;
  uint16                      RequestedCopyState = 15;
  uint16                      SyncType;
  string                      SyncTypeDescription;
  uint16                      Mode;
  string                      ModeDescription;
  uint16                      ProgressStatus;
  string                      ProgressStatusDescription;
  uint16                      PercentSynced;
  datetime                    WhenEstablished;
  datetime                    WhenSynchronized;
  datetime                    WhenActivated;
  datetime                    WhenDeactivated;
  datetime                    WhenSuspended;
  uint16                      CopyType;
  string                      CopyTypeDescription;
  string                      RelationshipName;
  boolean                     ConsistencyEnabled = FALSE;
  uint16                      ConsistencyType;
  uint16                      ConsistencyState = 2;
  uint16                      ConsistencyStatus;
  MSFT_SMReplicationGroup REF Parent;
  MSFT_SMReplicaPeer      REF Child;
};

Members

The MSFT_SMReplicationGroupToReplicaPeer class has these types of members:

Properties

The MSFT_SMReplicationGroupToReplicaPeer class has these properties.

Child

Data type: MSFT_SMReplicaPeer

Access type: Read-only

Qualifiers: Key

The MSFT_SMReplicaPeer object that represents the replica peer in the association.

ConsistencyEnabled

Data type: boolean

Access type: Read-only

Set to true if consistency is enabled.

This property is inherited from MSFT_SMGroupSynchronizedBase.

ConsistencyState

Data type: uint16

Access type: Read-only

Indicates the current state of consistency.

This property is inherited from MSFT_SMGroupSynchronizedBase.

Unknown (0)

Other (1)

Not Applicable (2)

Consistent (3)

Inconsistent (4)

DMTF Reserved

5 32767

Vendor Specific

32768 65535

ConsistencyStatus

Data type: uint16

Access type: Read-only

Indicates the current status of consistency. Consistency may have been disabled or is experiencing an error condition.

This property is inherited from MSFT_SMGroupSynchronizedBase.

Unknown (0)

Other (1)

Completed (2)

Consistency-in-progress (3)

Consistency disabled (4)

Consistency-error (5)

DMTF Reserved

6 32767

Vendor Specific

32768 65535

ConsistencyType

Data type: uint16

Access type: Read-only

Indicates the consistency type used by the source and its associated target group.

This property is inherited from MSFT_SMGroupSynchronizedBase.

Sequentially Consistent (2)

DMTF Reserved

3 32767

Vendor Specific

32768 65535

CopyState

Data type: uint16

Access type: Read-only

Qualifiers: Experimental

Indicates the state of the replication activity.

This property is inherited from MSFT_SMSynchronizedBase.

The possible values are:

Initialized (2)

Unsynchronized (3)

Synchronized (4)

Broken (5)

Fractured (6)

Split (7)

Inactive (8)

Suspended (9)

Failedover (10)

Prepared (11)

Aborted (12)

Skewed (13)

Mixed (14)

Not Applicable (15)

DMTF Reserved

16 32767

Vendor Specific

32768 65535

CopyStateDescription

Data type: string

Access type: Read-only

A description of the CopyState property value.

This property is inherited from MSFT_SMSynchronizedBase.

CopyType

Data type: uint16

Access type: Read-only

The replication policy of the association.

This property is inherited from MSFT_SMSynchronizedBase.

The possible values are:

Async (2)

Sync (3)

UnSyncAssoc (4)

UnSyncUnAssoc (5)

DMTF Reserved

6 32767

Vendor Specific

32768 ...

CopyTypeDescription

Data type: string

Access type: Read-only

A description of the CopyType value.

This property is inherited from MSFT_SMSynchronizedBase.

Mode

Data type: uint16

Access type: Read-only

Qualifiers: Experimental

The update mode of the target elements. If the value is set to NULL, the implementation will provide the update mode.

This property is inherited from MSFT_SMSynchronizedBase.

Unknown (0)

Synchronous (2)

Asynchronous (3)

DMTF Reserved

4 32767

Vendor Specific

32768 65535

ModeDescription

Data type: string

Access type: Read-only

A description of the Mode value.

This property is inherited from MSFT_SMSynchronizedBase.

Parent

Data type: MSFT_SMReplicationGroup

Access type: Read-only

Qualifiers: Key

The MSFT_SMReplicationGroup object that represents the replication group in the association.

PercentSynced

Data type: uint16

Access type: Read-only

Qualifiers: Experimental

The percent of synchronization work that is complete. This value must be set to NULL if the implementation is not capable of providing this information.

This property is inherited from MSFT_SMSynchronizedBase.

ProgressStatus

Data type: uint16

Access type: Read-only

Qualifiers: Experimental

Indicates the status of the replication activity for the association.

This property is inherited from MSFT_SMSynchronizedBase.

The possible values are:

Unknown (0)

Completed (2)

Dormant (3)

Initializing (4)

Preparing (5)

Synchronizing (6)

Resyncing (7)

Restoring (8)

Fracturing (9)

Splitting (10)

Failing over (11)

Failing back (12)

Aborting (13)

Mixed (14)

Not Applicable (15)

Suspending (16)

Requires fracture (17)

Requires resync (18)

Requires activate (19)

Pending (20)

Detaching (21)

DMTF Reserved

22 32767

Vendor Specific

32768 ...

ProgressStatusDescription

Data type: string

Access type: Read-only

A description of the ProgressStatus value.

This property is inherited from MSFT_SMSynchronizedBase.

RelationshipName

Data type: string

Access type: Read-only

A unique identifier for the relationship.

This property is inherited from MSFT_SMGroupSynchronizedBase.

RequestedCopyState

Data type: uint16

Access type: Read-only

Qualifiers: Experimental, ModelCorrespondence ("SNIA_Synchronized.CopyState")

Indicates the last requested or desired state of replication activity for the association. When the CopyState value matches the requested state, RequestedCopyState will be set to "Not Applicable".

This property is inherited from MSFT_SMSynchronizedBase.

The possible values are:

Initialized (2)

Unsynchronized (3)

Synchronized (4)

Broken (5)

Fractured (6)

Split (7)

Inactive (8)

Suspended (9)

Failedover (10)

Prepared (11)

Aborted (12)

Skewed (13)

Mixed (14)

Not Applicable (15)

DMTF Reserved

16 32767

Vendor Specific

32768 65535

SyncMaintained

Data type: boolean

Access type: Read-only

True if the synchronization between the elements is maintained; otherwise, False.

This property is inherited from MSFT_SMSynchronizedBase.

SyncType

Data type: uint16

Access type: Read-only

Qualifiers: Experimental

The intended outcome of the replication operation.

This property is inherited from MSFT_SMSynchronizedBase.

The possible values are:

DMTF Reserved

0 5

Mirror (6)

Snapshot (7)

Clone (8)

DMTF Reserved

9 32767

Vendor Specific

32768 ...

SyncTypeDescription

Data type: string

Access type: Read-only

A description of the SyncType property value.

This property is inherited from MSFT_SMSynchronizedBase.

WhenActivated

Data type: datetime

Access type: Read-only

Qualifiers: Experimental

A datetime value that indicates when the association was activated. This value must be set to NULL if the implementation is not capable of providing this information. A value of "0" indicates the information is unknown.

This property is inherited from MSFT_SMSynchronizedBase.

WhenDeactivated

Data type: datetime

Access type: Read-only

Qualifiers: Experimental

A datetime value that indicates when the association was deactivated. This value must be set to NULL if the implementation is not capable of providing this information. A value of "0" indicates the information is unknown.

This property is inherited from MSFT_SMSynchronizedBase.

WhenEstablished

Data type: datetime

Access type: Read-only

Qualifiers: Experimental

A datetime value that indicates when the association was established. This value must be set to NULL if the implementation is not capable of providing this information. A value of "0" indicates the information is unknown.

This property is inherited from MSFT_SMSynchronizedBase.

WhenSuspended

Data type: datetime

Access type: Read-only

Qualifiers: Experimental

A datetime value that indicates when the association was suspended. This value must be set to NULL if the implementation is not capable of providing this information. A value of "0" indicates the information is unknown.

This property is inherited from MSFT_SMSynchronizedBase.

WhenSynced

Data type: datetime

Access type: Read-only

A datetime value that indicates when the elements were synchronized.

This property is inherited from MSFT_SMSynchronizedBase.

WhenSynchronized

Data type: datetime

Access type: Read-only

Qualifiers: Experimental

A datetime value that indicates when the CopyState property is set to "Synchronized". This value must be set to NULL if the implementation is not capable of providing this information. A value of "0" indicates the information is unknown.

This property is inherited from MSFT_SMSynchronizedBase.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMGroupSynchronizedBase

Windows Storage Management WMI Provider