RemoveMembers method of the CIM_ReplicationService class

Remove members from a replication group.

Syntax

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

Parameters

Members [in]

List of elements to remove from a group. A member can not be removed if it is in a replication relationship. Deleting all members of a group is equivalent to deleting the group if empty groups are not supported by the implementation.

DeleteOnEmptyElement [in]

If true and removal of the members causes the group to become empty, the group will be deleted. Note, if empty groups are not allowed, the group will be deleted automatically when the group becomes empty. If this parameter is not NULL, it overrides the group's property DeleteOnEmptyElement.

ReplicationGroup [in]

Reference to an existing replication group.

ServiceAccessPoint [in]

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

ReplicationSettingData [in]

If supplied, it provides additional replication settings for the method. For example, what should happen OnGroupOrListError.

Return value

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

Group does not exist (7)

Member not in group (8)

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