Step 4: create filters

smc_create_filter creates a filter on a data item. Filters limit the number of rows of performance data returned by a view. A filter can be applied to any data item specified in a view. A view can contain one filter per data item. If you include more than one filter in a view, Monitor Client Library uses ANDs to include those filters.

The types of filters available are:

A view may contain more than one filter, but any particular data item may only have one filter bound to it. When a view contains more than one filter, the filters are combined with an AND.

You can add or drop filters at any time. The change in filtering takes effect as of the next refresh.

See the code sample on page 24.