Partager via


GetSupportedReplicationSettingData method of the MSISCSITARGET_ReplicationServiceCapabilities class

Retrieves the supported property values for the specified CIM_ReplicationSettingData property and replication type.

This method is inherited from the CIM_ReplicationServiceCapabilities class.

Syntax

uint32 GetSupportedReplicationSettingData(
  [in]  uint16 ReplicationType,
  [in]  uint16 PropertyName,
  [out] uint64 SupportedValues[]
);

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*

PropertyName [in]

Specifies the property name to query.

The possible values are.

ConsistentPointInTime (2)

DesiredCopyMethodology (3)

Multihop (4)

OnGroupOrListError (5)

UnequalGroupsAction (6)

TargetElementSupplier (7)

ThinProvisioningPolicy (8)

Pairing (9)

FailedCopyStopsHostIO (10)

CopyRecoveryMode (11)

UnequalListsAction (12)

DeltaUpdateInterval (13)

DeltaUpdateBlocks (14)

ReadOnly (15)

DMTF Reserved

16 0x7FFF

Vendor Specific

0x8000 = *value*

SupportedValues [out]

On return, indicates the supported values for the specified property.

For a list of possible values for each property, see the CIM_ReplicationSettingData class on the DMTF website at http://schemas.dmtf.org/wbem/cim-html/2.31.0+/CIM\_ReplicationSettingData.html.

For Boolean properties, 3 indicates True and 2 indicates false.

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

MSISCSITARGET_ReplicationService