private void deleteTargetGroup(StorageSystem system,String replicationGroupInstance) throws Exception {
  if (system.getUsingSmis80()) {
    if (!replicationGroupInstance.contains("+")) {
      replicationGroupInstance=String.format("%s+%s",system.getSerialNumber(),replicationGroupInstance);
    }
  }
  CIMObjectPath groupPath=_cimPath.getReplicationGroupObjectPath(system,replicationGroupInstance);
  CIMArgument[] outArgs=new CIMArgument[5];
  CIMArgument[] deleteGroupInArgs=_helper.getDeleteReplicationGroupInputArguments(system,groupPath,true);
  _helper.invokeMethod(system,_cimPath.getControllerReplicationSvcPath(system),DELETE_GROUP,deleteGroupInArgs,outArgs);
}

private void deleteTargetGroup ( StorageSystem system , String replicationGroupInstance ) throws Exception { if ( system . getUsingSmis80 ( ) ) { if ( ! replicationGroupInstance . contains ( "+" ) ) { replicationGroupInstance = String . format ( "%s+%s" , system . getSerialNumber ( ) , replicationGroupInstance ) ; } } CIMObjectPath groupPath = _cimPath . getReplicationGroupObjectPath ( system , replicationGroupInstance ) ; CIMArgument [ ] outArgs = new CIMArgument [ 5 ] ; CIMArgument [ ] deleteGroupInArgs = _helper . getDeleteReplicationGroupInputArguments ( system , groupPath , true ) ; _helper . invokeMethod ( system , _cimPath . getControllerReplicationSvcPath ( system ) , DELETE_GROUP , deleteGroupInArgs , outArgs ) ; }
method will invoke the smi - s operation to delete the replicationgroup .
