コード例 #1
0
ファイル: WbemClient.cs プロジェクト: billmoling/wbemtools
        public void DeleteInstance(DeleteInstanceOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("DeleteInstance", settings);

            if (response != null)
            {
                // A Cimom error occurred
                CheckSingleResponse(response, typeof(CimomError));
            }
        }
コード例 #2
0
ファイル: WbemClient.cs プロジェクト: billmoling/wbemtools
 /// <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);
 }