RemoveMembers method of the MSISCSITARGET_ReplicationService class

Removes members from a replication group.

This method is inherited from the CIM_ReplicationService class.


uint32 RemoveMembers(
  [in, optional] CIM_LogicalElement Ref     Members[],
  [in, optional] boolean                    DeleteOnEmptyElement,
  [in]           CIM_ReplicationGroup Ref   ReplicationGroup,
  [in, optional] CIM_ServiceAccessPoint Ref ServiceAccessPoint,
  [in, optional] string                     ReplicationSettingData


Members [in, optional]

Specifies a list of elements to remove from a group. A member cannot 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, optional]

Specifies whether to delete the group when the last element is removed. If True, the group is deleted after the last element is removed from the group. Otherwise, the empty group is retained.


If empty groups are not allowed, the group is deleted automatically when the group becomes empty even if the value is false.

If this parameter is not NULL, its value overrides the DeleteOnEmptyElement property of the group.

ReplicationGroup [in]

Specifies an existing replication group to modify. Required.

ServiceAccessPoint [in, optional]

Specifies a reference to access point information for the service to create a group on a remote system. If NULL, the group is created on the local system.

ReplicationSettingData [in, optional]

If provided, specifies the replication setting data for the given SyncType input parameter in the form of an embedded CIM_ReplicationSettingData instance. If not provided, the management server uses the default replication setting data. Optional.

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)

Member not in group (8)

DMTF Reserved (8 0x7FFF)

Vendor Specific (0x8000 = value )


Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2

See also