Export (0) Print
Expand All

MSMQQuery

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.

  • Queue identifier

  • Service type

  • Queue label

  • Create time

  • Modify time

  • Multicast address

The results of a query are referred to as a collection of queues.

Methods

The following table lists the methods of the MSMQQuery object.

Method Description

MSMQQuery.LookupQueue

Returns an MSMQQueueInfos object defining a query for locating public queues that satisfy the search criteria specified.

Requirements

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.

See Also

Show:
© 2015 Microsoft