Partager via


AddToRemoteReplicationCollection method of the MSISCSITARGET_ReplicationService class

Adds or starts a job to add additional service access points, and optionally, remote systems associations to an existing instance of a remote replication collection.

This method is inherited from the CIM_ReplicationService class.

Syntax

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

Parameters

LocalAccessPoints [in]

Specifies the local service access points that enable communication to the remote system.

RemoteAccessPoints [in]

Specifies the remote service access points that enable communication to the remote system.

If NULL, then only the system that is specified in the RemoteComputerSystem parameter is added for the existing access points that are associated to the remote replication collection.

RemoteComputerSystem [in]

Specifies the remote system.

If this parameter is NULL, then only access points are added for the remote systems that are already available to the CIM_RemoteReplicationCollection instance.

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 be expanded. Required.

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