Share via


GetServiceAccessPoints method of the MSISCSITARGET_ReplicationService class

Gets service access points (SAPs) that are associated with a peer system.

This method is inherited from the CIM_ReplicationService class.

Syntax

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

Parameters

System [in]

Specifies the peer system. Required.

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 the CIM_ServiceAccessPoint instances that are associated with the peer system.

ServiceAccessPoints [out]

On return, contains a list of service access points (SAPs) for the specified system.

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

CIM_AffectedJobElement

CIM_ServiceAccessPoint