Partager via


RemoveFromRemoteReplicationCollection method of the MSISCSITARGET_ReplicationService class

Removes or starts a job to remove service access points (SAPs) and/or remote systems associations from an existing remote replication collection instance.

This method is inherited from the CIM_ReplicationService class.

Syntax

uint32 RemoveFromRemoteReplicationCollection(
  [in, optional] CIM_ServiceAccessPoint Ref     LocalAccessPoints[],
  [in, optional] CIM_ServiceAccessPoint Ref     RemoteAccessPoints[],
  [in, optional] CIM_ComputerSystem Ref         RemoteComputerSystem,
  [out]          CIM_ConcreteJob Ref            Job,
  [in]           CIM_ConnectivityCollection Ref ConnectivityCollection
);

Parameters

LocalAccessPoints [in, optional]

Specifies local SAPs that provide communication to the remote system.

RemoteAccessPoints [in, optional]

Specifies remote SAPs that provide communication to the remote system.

RemoteComputerSystem [in, optional]

Specifies the remote system to remove.

If the LocalAccessPoints and RemoteAccessPoints parameters are NULL, then only the remote CIM_ComputerSystem instance is removed for the existing service access points that are associated to the specified collection. If the RemoteComputerSystem is NULL, then only the specified access points are removed from the existing remote computer systems that are available to the specified collection.

Job [out]

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

ConnectivityCollection [in]

Specifies the remote replication collection to modify.

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

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_ComputerSystem

MSISCSITARGET_ConcreteJob