Share via


AddMembers method of the CIM_ReplicationService class

Add members to an existing replication group.

Syntax

uint32 AddMembers(
  [in] CIM_LogicalElement     REF Members[],
  [in] CIM_ReplicationGroup   REF ReplicationGroup,
  [in] CIM_ServiceAccessPoint REF ServiceAccessPoint,
  [in] string                     ReplicationSettingData
);

Parameters

Members [in]

Specifies a list of elements to add to the group. New members are added, in the order supplied, to the end of the existing members of the group. It is not an error, if a new member is already in the group.

ReplicationGroup [in]

Specifies an existing replication group.

ServiceAccessPoint [in]

Specifies access point information to allow the service to access the group on a remote system.

ReplicationSettingData [in]

Specifies additional replication settings for the method.

Return value

This method returns one of the following values.

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

Group does not exist (7)

DMTF Reserved (8 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