次の方法で共有


GetPeerSystems method of the MSISCSITARGET_ReplicationService class

Gets all of the peer systems. A peer system is a system that is known and visible to the replication service.

This method is inherited from the CIM_ReplicationService class.

Syntax

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

Parameters

Options [in, optional]

Specifies which peer systems to return. If NULL, all known systems are returned, whether those systems are currently available or not.

The possible values are.

Only systems currently reachable (2)

DMTF Reserved

3 0x7FFF

Vendor Specific

0x8000 = *value*

Job [out]

On return, contains a reference to the job, which can be NULL, if the job is completed.

If a job is started and after the job is completed, you can examine the CIM_AffectedJobElement associations for available targets.

Systems [out]

On return, contains a list of peer computer systems.

Return value

This method returns one of the following values.

Completed with No Error (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 4095)

Method Parameters Checked - Job Started (4096)

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

MSISCSITARGET_AffectedJobElement