Enumerate Instances CIM Operation |
|
|
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.
- CIM_ERR_ACCESS_DENIED
- CIM_ERR_NOT_SUPPORTED
- CIM_ERR_INVALID_NAMESPACE
- CIM_ERR_INVALID_PARAMETER (including missing,
duplicate, unrecognized or otherwise incorrect parameters)
- CIM_ERR_INVALID_CLASS (the CIM Class that is the
basis for this enumeration does not exist)
- CIM_ERR_FAILED (some other unspecified error occurred)
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;