次の方法で共有


MSFT_SMReplicationGroup class

A replication group represents a consistency grouping of storage replicas.

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

Syntax

[dynamic, provider("WMIStorage"), AMENDMENT]
class MSFT_SMReplicationGroup : MSFT_SMStorageObject
{
  String ObjectId;
  String Identifier;
  String DisplayName;
  String Description;
  UInt16 HealthStatus;
  UInt16 OperationalStatus[];
};

Members

The MSFT_SMReplicationGroup class has these types of members:

Methods

The MSFT_SMReplicationGroup class has these methods.

Method Description
AddMembers Adds members to the replication group.
CreateReplica Creates a replica relationship between replication groups.
Delete Deletes an empty replication group.
GetReplicationSettings Retrieves the replication settings for a replication group.
RemoveMembers Removes members from the replication group.
SetFriendlyName Updates the user friendly name of a replication group.
SetReplicationRelationship Updates the relationship between replication groups.
SetReplicationSettings Updates the replication settings for a replication group.

Properties

The MSFT_SMReplicationGroup class has these properties.

Description

Data type: String

Access type: Read-only

The description of the replication group.

DisplayName

Data type: String

Access type: Read-only

Qualifiers: Required

The name of the replication group.

HealthStatus

Data type: UInt16

Access type: Read-only

Qualifiers: Required

The health status of the replication group.

The possible values are:

Healthy (0)

Warning (1)

Unhealthy (2)

Unknown (5)

Identifier

Data type: String

Access type: Read-only

Qualifiers: Required

The ID of the logical instance of the object. This ID must be unique within the scope of the storage system.

This property is inherited from MSFT_SMStorageObject.

ObjectId

Data type: String

Access type: Read-only

Qualifiers: Key, Required

The ID of this class instance. This ID must be unique within the scope of the Windows Storage Management server that hosts the provider object.

This property is inherited from MSFT_SMStorageObject.

OperationalStatus

Data type: UInt16 array

Access type: Read-only

An array that contains the current operating status of the hardware, software, and infrastructure of the replication group.

The possible values are:

Unknown (0)

Other (1)

OK (2)

Degraded (3)

Stressed (4)

Predictive Failure (5)

Error (6)

Non-Recoverable Error (7)

Starting (8)

Stopping (9)

Stopped (10)

In Service (11)

No Contact (12)

Lost Communication (13)

Aborted (14)

Dormant (15)

Supporting Entity in Error (16)

Completed (17)

Power Mode (18)

Relocating (19)

Microsoft Reserved

20 ...

Requirements

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