Re: question on CBEnumInstances

kamal jeera <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
forgot to add that,  the reason I want to that is.....

the class that I am trying to do enumerateIntstance has tons of instances,
and it is taking lot of time to to go through all of those and chose the one
I want.

It would be nice if CBEnumInstances can filter out the results.




On Mon, Oct 25, 2010 at 10:50 AM, kamal jeera <[email protected]> wrote:

> Hi All,
>
> I have a question on CBEnumInstances.
> inline static CMPIEnumeration *CBEnumInstances(
>     const CMPIBroker * mb,
>     const CMPIContext * ctx,
>     const CMPIObjectPath * op,
>     const char ***properties*,
>     CMPIStatus * rc)
>
>
> I am trying to enumerate instances of a class.
>
> I would like to filter my results based on certain *property value,* how
> can I do that?
>
> Lets for example I would like to filter results from CBEnumInstances to
> just show the instances of class which has property has GatheringType = 3
>
> I am not sure if can specify value for const char ***properties*.
>
> thanks,
> Hemanth
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.