The MSMQQuery object provides a method for creating and initializing an MSMQQueueInfos object that defines a query. The MSMQQueueInfos object stores search criteria and other information needed for querying the directory service to locate existing public queues that satisfy the search criteria specified.
Queries can be based on one or more of the following queue properties.
The results of a query are referred to as a collection of queues.
The following table lists the methods of the MSMQQuery object.
Returns an MSMQQueueInfos object defining a query for locating public queues that satisfy the search criteria specified.
Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Mqoai.h.
Library: Use Mqoa.lib.