Delete Class CIM Operation


The DeleteClass method deletes a single CIM Class from the target Namespace. 

NameSpace     Defines the target namespace from which the class will be delted

ClassName      Name of the class to be deleted.

                              

 


Return Results

If successful, the specified Class (including any subclasses and any instances) MUST have been removed by the CIM Server. The operation MUST fail if any one of these objects cannot be deleted. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.


Addtitional Information

The DeleteClass method deletes a single CIM Class from the target Namespace. 

The NameSpace parameter is a string that defines the target namespace \Ref{NAMESPACE} 

The ClassName input parameter defines the name of the Class to be deleted. 


Pegasus API in operations.h

    virtual void deleteClass(
        const String& nameSpace,
        const String& className) = 0;
    

Demonstration Prepared by the OpenGroup Manageability Work Group Pegasus Development Team

See (http://www.opengroup.org/management) for more information on Pegasus

Last Modified Monday, March 26, 2001 02:57:40 PM      Copyright @ The Open Group 2001