DeleteGroup method of the CIM_ReplicationService class
Delete a replication group.
Syntax
uint32 DeleteGroup(
[in] CIM_ReplicationGroup REF ReplicationGroup,
[in] CIM_ServiceAccessPoint REF ServiceAccessPoint,
[in] boolean RemoveElements,
[in] string ReplicationSettingData
);
Parameters
-
ReplicationGroup [in]
-
Reference to a replication group.
-
ServiceAccessPoint [in]
-
Reference to access point information to allow the service to delete the group on a remote system.
-
RemoveElements [in]
-
Delete the group even if it is not empty. If one or more elements in the group are in a replication relationship, RemoveElements has no effect.
-
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)
-
One or more elements in a replication relationship (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 |
|
DLL |
|
See also
-
CIM_ReplicationService