次の方法で共有


GetSupportedMaximum method of the CIM_ReplicationServiceCapabilities class

This method accepts a ReplicationType and a component, it then returns a static numeric value representing the maximum number of the specified component that the service supports. A value of 0 indicates unlimited components of the given type. In all cases the maximum value is bound by the availability of resources on the computer system. Effectively, the method informs clients of the edge conditions.

Syntax

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

Parameters

ReplicationType [in]

A value representing the ReplicationType.

Component [in]

For the given Mirror, Snapshot, Clone and their mode and locality variations as specified by ReplicationType, this parameter represents one of the following components: Number of groups: Maximum number of groups supported by the replication service.Number of elements per source group: Maximum number of elements in a group that can be used as a source group. Number of elements per target group: Maximum number of elements in a group that can be used as a target group. Number of target elements per source element: Maximum number of target elements per source element. Number of total source elements: Maximum number of total source elements supported by the service. Number of total target elements: Maximum number of total target elements supported by the source. Number of peer systems: Maximum number of peer systems that replication service can communicate with. Number of hops in multi-hop replication: Maximum number of hops in multi-hop replication the service can manage.

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 multi-hop copy (9)

DMTF Reserved

10 32767

Vendor Specific

32768 65535

MaxValue [out]

The maximum value, or 0 if the maximum is unlimited.

Return value

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 32767)

Vendor Specific (32768 4294967295)

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

CIM_ReplicationServiceCapabilities