次の方法で共有


GetSupportedGroupFeatures method of the MSISCSITARGET_ReplicationServiceCapabilities class

Retrieves the supported group features for a specified replication type.

This method is inherited from the CIM_ReplicationServiceCapabilities class.

Syntax

uint32 GetSupportedGroupFeatures(
  [in]  uint16 ReplicationType,
  [out] uint16 GroupFeatures[]
);

Parameters

ReplicationType [in]

Specifies the replication type.

The MSISCSITARGET_ReplicationServiceCapabilities.SupportedReplicationTypes property values are.

Synchronous Mirror Local (2)

Asynchronous Mirror Local (3)

Synchronous Mirror Remote (4)

Asynchronous Mirror Remote (5)

Synchronous Snapshot Local (6)

Asynchronous Snapshot Local (7)

Synchronous Snapshot Remote (8)

Asynchronous Snapshot Remote (9)

Synchronous Clone Local (10)

Asynchronous Clone Local (11)

Synchronous Clone Remote (12)

Asynchronous Clone Remote (13)

DMTF Reserved

14 0x7FFF

Vendor Specific

0x8000 = *value*

GroupFeatures [out]

On return, contains a list of the supported group features.

The possible values are.

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)

Multihop 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 resync (18)

Restore operation requires fracture (19)

Resync operation requires activate (20)

Copy operation requires offline source (21)

DMTF Reserved

22 0x7FFF

Vendor Specific

0x8000 = *value*

Return value

This method returns one of the following values.

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 0x7FFF)

Vendor Specific (0x8000 = value )

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SmIScsiTargetProv.dll

See also

MSISCSITARGET_ReplicationServiceCapabilities