public void DeleteInstance(DeleteInstanceOpSettings settings) { SingleResponse response = MakeSingleRequest("DeleteInstance", settings); if (response != null) { // A Cimom error occurred CheckSingleResponse(response, typeof(CimomError)); } }
/// <summary> /// Deletes the instance from the Cimom /// </summary> /// <param name="instanceName">Name of the instance to delete</param> public void DeleteInstance(CimInstanceName instanceName) { DeleteInstanceOpSettings settings = new DeleteInstanceOpSettings(instanceName); DeleteInstance(settings); }