다음을 통해 공유


MSMQManagement.QueueType

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Introduced in MSMQ 3.0). The QueueType property of the MSMQManagement object returns one of several queue types.

Data type: Long
Run-time access: Read-only
Property QueueType As Long  

Property Value

The QueueType property can have any one of the following values:

MQ_TYPE_PUBLIC

The queue is a public queue that is registered in the directory service.

MQ_TYPE_PRIVATE

The queue is a private queue registered on its local computer (not in the directory service).

MQ_TYPE_MACHINE

The queue is a computer journal or dead-letter queue. These queues are used for storing copies of messages sent from the computer. For information on how these queues are used, see Source Journaling.

MQ_TYPE_CONNECTOR

The queue is one of two connector queues used to pass messages to foreign messaging systems. For information on sending messages to foreign messaging systems, see Connector Services.

MQ_TYPE_MULTICAST

The queue is a multicast outgoing queue.

Remarks

The MSMQManagement object can be initialized to refer to an active destination or outgoing queue, depending on the parameters passed to the MSMQManagement.Init method when the object is initialized. If the MSMQManagement object represents the state of an outgoing queue, the QueueType property indicates the type of the corresponding destination queue.

Equivalent API Function Property

When using API functions, the equivalent property is PROPID_MGMT_QUEUE_TYPE.

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib

See Also

MSMQManagement
PROPID_MGMT_QUEUE_TYPE