Partager via


GetSupportedGroupFeatures method of the MSFT_SMReplicationCapabilities class

Retrieves the supported group features for the specified replication type.

Syntax

uint32 GetSupportedGroupFeatures(
  [in]            uint16                ReplicationType,
  [out]           uint16                GroupFeatures[],
  [in, optional]  String                username,
  [in, optional]  String                password,
  [out, optional] MSFT_SMExtendedStatus ExtendedStatus
);

Parameters

ReplicationType [in]

Indicates the replication type for which to retrieve supported group features.

GroupFeatures [out]

An array of indicators to the supported group features for the replication type.

One-to-many replication (2)

Many-to-many groups (3)

Consistency enabled for all groups (4)

Empty replication groups allowed (5)

Source group must have more than one element (6)

Composite Groups (7)

Multihop element replication (8)

Multi-hop elements must have same SyncType (9)

Group can only have one single relationship active (10)

Source element can be removed from group (11)

Target element can be removed from group (12)

Group can be temporary (13)

Group is nameable (14)

Supports target element count (15)

Synchronized clone target detaches automatically (16)

Reverse Roles operation requires Read Only source (17)

Reverse Roles operation requires subsequent resync (18)

Restore operation requires subsequent fracture (19)

Resync operation requires subsequent activate (20)

Copy operation requires offline source (21)

Restore operation requires subsequent detach (22)

Element can be member of multiple groups (23)

Elements of group can be mix of thin and thick (24)

TokenizedClone ConsistentPointInTime (25)

Target elements can be added to collections (26)

Reverse Roles operation requires Synchronized state (27)

Reverse Roles operation requires Fractured state (28)

Reverse Roles operation requires Split state (29)

Reverse Roles operation requires FailedOver state (30)

Reverse Roles operation requires Suspended state (31)

Provider can manage remote source group (32)

Provider can manage remote target group (33)

TargetGroup shall not be supplied (34)

TargetPool shall not be supplied (35)

TargetSettingGoal shall not be supplied (36)

Provider can create remote target group (37)

Provider can create local target group (38)

Provider must create remote group (39)

Creating remote elements requires TargetPool (40)

Target group shall be supplied (41)

CreateGroupReplica only accepts empty groups (42)

One replication group per storage pool (43)

Supports ConsistencyExempt when adding to group (44)

Add or Remove to group requires Fractured state (45)

Add or Remove to group requires Split state (46)

Add or Remove to group requires Suspended state (47)

Add or Remove to group requires FailedOver state (48)

Supports SynchronizationAspect of replication group (49)

No element level StorageSynchronized (50)

Accepts foreign object paths (51)

Failover operation requires subsequent fracture (52)

Failover operation requires subsequent split (53)

Restore operation requires subsequent resume (54)

One consistent async per RemoteReplicationCollection (55)

Client can supply RelationshipName (56)

Implementation decides group member order (57)

Reverse Roles operation does not change CopyState (58)

Failover operation requires subsequent failback (59)

Planned Failover operation requires split state (60)

Planned Failover operation requires fractured state (61)

Target element requires resource pool reserved for replication (62)

AddSyncPair requires Synchronized mirror pair (63)

Provider can create remote elements using TargetPools (64)

DMTF Reserved

65 32767

Vendor Specific

32768 ...

username [in, optional]

The username used to authenticate the SMI-S provider.

password [in, optional]

The password used to authenticate the SMI-S provider.

ExtendedStatus [out, optional]

When this method returns, this parameter contains a MSFT_SMExtendedStatus object that contains detailed status information about the results of this operation.

Return value

The possible return values are:

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 32767)

Vendor Specific (32768 ...)

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_SMReplicationCapabilities