version 1.62, 2006/08/09 21:12:56
|
version 1.63, 2006/09/27 20:13:20
|
|
|
| |
try | try |
{ | { |
instance = repository->enumerateInstances(PEGASUS_NAMESPACENAME_INTEROP, |
instance = repository->enumerateInstancesForClass( |
|
PEGASUS_NAMESPACENAME_INTEROP, |
CIM_OBJECTMANAGER_CLASSNAME); | CIM_OBJECTMANAGER_CLASSNAME); |
} | } |
catch(Exception e) |
catch (Exception& e) |
{ | { |
InstancesExists = false; | InstancesExists = false; |
} | } |
|
|
Array<CIMInstance> instances; | Array<CIMInstance> instances; |
try | try |
{ | { |
instances = _repository->enumerateInstances( |
instances = _repository->enumerateInstancesForClass( |
objectPath.getNameSpace(), | objectPath.getNameSpace(), |
CIM_OBJECTMANAGER_CLASSNAME, true, false, includeQualifiers, |
CIM_OBJECTMANAGER_CLASSNAME, false, includeQualifiers, |
includeClassOrigin, propertyList); | includeClassOrigin, propertyList); |
| |
if (instances.size() >= 1) | if (instances.size() >= 1) |
|
|
@param includeClassOrigin Boolean | @param includeClassOrigin Boolean |
@param propertylist CIMPropertyList | @param propertylist CIMPropertyList |
@return CIMInstance with a single built instance of the class | @return CIMInstance with a single built instance of the class |
@exception repository instances if exception to enumerateInstances |
@exception repository instances if exception to enumerateInstancesForClass |
for this class. |
|
*/ | */ |
CIMInstance InteropProvider::_getInstanceCIMObjectManager( | CIMInstance InteropProvider::_getInstanceCIMObjectManager( |
const CIMObjectPath& objectPath, | const CIMObjectPath& objectPath, |