IReposQuery Interface
This interface allows you to use filters on collections in order to give you control over the objects that appear in an object collection.
When to use
The IReposQuery interface is implemented by the following objects to enable you to apply different queries with given filter conditions:
- The Repository object: This allows you to query the whole repository.
- The Workspace object: This allows you to query the workspace.
- The relationship collection objects: This allows you to query all instances in the given relationship collection. (Notice that the ITargetObjectCol interface implies IReposQuery; therefore, all the objects that implement this interface also implement IReposQuery.)
Methods
IUnknown Method |
Description |
QueryInterface |
Returns pointers to supported interfaces |
AddRef |
Increments the reference count |
Release |
Decrements the reference count |
IDispatch Method |
Description |
GetIDsOfNames |
Maps a single member and a set of argument names to a corresponding set of dispatch identifiers |
GetTypeInfo |
Retrieves a type information object, which can be used to get the type information for an interface |
GetTypeInfoCount |
Retrieves the number of type information interfaces that an object provides (either 0 or 1) |
Invoke |
Provides access to properties and methods exposed by an Automation object |
IReposQuery Method |
Description |
GetCollection |
Filters relationship collections in a workspace or in the whole repository |
See Also
Filtering Collections
Repository Object
Workspace Object