Filters Property
The Filters property returns the collection of Filter
objects associated with a Query.
Syntax
Query .Filters
Applies To
Discussion
Use this property to iterate through a Query object’s filters, add a new filter, and change or remove a filter.
A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.
Type
Filter
Access
Read
Examples
new_package = model.Packages.Add()new_query = new_package.Queries.Add()new_filter
= new_query.Filters.Add()