GetPeerSystems method of the CIM_ReplicationService class

Get (or start a job to get) all of the peer systems. A peer system is a system that is known and visible to the Replication Service. Peer systems are discovered through discovery services and/or implementation specific services.If a job is started, once the job completes, examine the AffectedJobElement associations for the peer systems.

Syntax

uint32 GetPeerSystems(
  [in]  uint16                 Options,
  [out] CIM_ConcreteJob    REF Job,
  [out] CIM_ComputerSystem REF Systems[]
);

Parameters

Options [in]

This parameter specifies which peer systems to return. If NULL, all known systems are returned, whether those systems are currently reachable or not.

Only systems currently reachable (2)

DMTF Reserved

3 32767

Vendor Specific

32768 65535

Job [out]

Reference to the job (may be NULL if the task completed).

Systems [out]

List of peer ComputerSystems.

Return value

Completed with No Error (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 4095)

Method Parameters Checked - Job Started (4096)

Method Reserved (4097 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_ReplicationService