Partager via


AddMembers method of the MSISCSITARGET_ReplicationService class

Adds members to an existing replication group.

This method is inherited from the CIM_ReplicationService class.

Syntax

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

Parameters

Members [in]

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

ReplicationGroup [in]

Specifies the existing replication group to be modified. Required.

ServiceAccessPoint [in, optional]

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

ReplicationSettingData [in, optional]

If provided, specifies the replication setting data for the given SyncType 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)

DMTF Reserved (8 0x7FFF)

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