DeleteGroup method of the MSISCSITARGET_ReplicationService class
Deletes a replication group.
This method is inherited from the CIM_ReplicationService class.
Syntax
uint32 DeleteGroup(
[in] CIM_ReplicationGroup Ref ReplicationGroup,
[in, optional] CIM_ServiceAccessPoint Ref ServiceAccessPoint,
[in, optional] boolean RemoveElements,
[in, optional] string ReplicationSettingData
);
Parameters
-
ReplicationGroup [in]
-
Specifies the replication group to delete. Required.
-
ServiceAccessPoint [in, optional]
-
Specifies access point information to allow the service to delete the group on a remote system.
-
RemoveElements [in, optional]
-
Specifies whether to remove elements of the group before deleting the group. If True, the group can be deleted even if it is not empty. If false, the group must be empty before it can be deleted.
Note
If one or more elements in the group are in a replication relationship, the RemoveElements parameter has no effect.
-
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)
-
One or more elements in a replication relationship (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 |
|
DLL |
|