次の方法で共有


GetServiceAccessPoints method of the CIM_ReplicationService class

Get (or start a job to get) ServiceAccessPoints associated with a peer system. If a job is started, once the job completes, examine the AffectedJobElement associations for the peer system's ServiceAccessPoints.

Syntax

uint32 GetServiceAccessPoints(
  [in]  CIM_ComputerSystem     REF System,
  [out] CIM_ConcreteJob        REF Job,
  [out] CIM_ServiceAccessPoint REF ServiceAccessPoints[]
);

Parameters

System [in]

This parameter specifies the peer system.

Job [out]

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

ServiceAccessPoints [out]

List of ServiceAccessPoints for the supplied System.

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