Beispiel #1
0
        public void DeleteInstance(DeleteInstanceOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("DeleteInstance", settings);

            if (response != null)
            {
                // A Cimom error occurred
                CheckSingleResponse(response, typeof(CimomError));
            }
        }
Beispiel #2
0
 /// <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);
 }