Partager via


GetSupportedMaximum method of the MSISCSITARGET_ReplicationServiceCapabilities class

Retrieves the maximum number of the specified component type that the service supports for the specified replication type.

This method is inherited from the CIM_ReplicationServiceCapabilities class.

Syntax

uint32 GetSupportedMaximum(
  [in]  uint16 ReplicationType,
  [in]  uint16 Component,
  [out] uint64 MaxValue
);

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*

Component [in]

Specifies the component to query.

The possible values are.

Number of groups (2)

Number of elements per source group (3)

Number of elements per target group (4)

Number of target elements per source element (5)

Number of total source elements (6)

Number of total target elements (7)

Number of peer systems (8)

Number of hops in multihop copy (9)

DMTF Reserved

10 0x7FFF

Vendor Specific

0x8000 = *value*

MaxValue [out]

On return, indicates the maximum value. A value of zero indicates unlimited components of the given type. In all cases, the maximum value is also bound by the availability of resources on the computer system.

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)

Information is not available (7)

DMTF Reserved (8 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