Enumerate Instances CIM Operation


The enumerateInstanceNames operation enumerates the names (model paths) of the instances of a CIM Class in the target Namespace.

NameSpace   String that defines the target namespace. See NameSpace Operations for more information.

ClassName    Defines name of the Class for which instance names are to be retrieved.  This must be a legal class in the        repository

          


RETURN

If successful, the method returns zero or more names of Instances (model paths) that meet the requested criteria. 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.  

Additional Information

NameSpace The NameSpace parameter is a string that defines the target namespace. 

ClassName The ClassName input parameter defines the Class that is the basis for the enumeration. The ClassName input must be in the repository

Go To Top  


C++ Call

     virtual Array enumerateInstanceNames(
         const String& nameSpace,
         const String& className) = 0;