Compartir a través de


MSMQ Management Properties

 

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

Message Queuing provides the following properties for monitoring the Message Queuing installation and the active queues on a computer, allowing applications to manage theses resources programmatically.

These properties are specified in the MQMGMTPROPS structure, which is then provided as an In parameter for the MQMgmtGetInfo API function.

Message properties Description
PROPID_MGMT_MSMQ_ACTIVEQUEUES (Read-only, introduced in MSMQ 3.0.) Returns a list of the active queues on the computer.
PROPID_MGMT_MSMQ_BYTES_IN_ALL_QUEUES (Read-only, introduced in MSMQ 3.0.) Returns the number of message bytes stored in all the queues on the computer.
PROPID_MGMT_MSMQ_CONNECTED (Read-only, introduced in MSMQ 3.0.) Returns a string that indicates whether the queue manager on the computer has been disconnected from the network, and is prevented from connecting to the network and accessing the directory service.
PROPID_MGMT_MSMQ_DSSERVER (Read-only, introduced in MSMQ 3.0.) Returns the name of the current DS server for the computer.
PROPID_MGMT_MSMQ_PRIVATEQ (Read-only, introduced in MSMQ 3.0.) Returns a list of the path names of all the private queues registered on the computer.
PROPID_MGMT_MSMQ_TYPE (Read-only, supported only in Windows® XP.) Returns version and build information for the computer operating system and Message Queuing installation.
PROPID_MGMT_QUEUE_BYTES_IN_JOURNAL (Read-only, introduced in MSMQ 3.0.) Returns the number of message bytes in the queue journal.
PROPID_MGMT_QUEUE_BYTES_IN_QUEUE (Read-only, introduced in MSMQ 3.0.) Returns the number of message bytes in the queue.
PROPID_MGMT_QUEUE_EOD_FIRST_NON_ACK (Read-only, introduced in MSMQ 3.0.) Returns sequence information about the first message sent from the computer to the queue for which no order acknowledgment has been received.
PROPID_MGMT_QUEUE_EOD_LAST_ACK (Read-only, introduced in MSMQ 3.0.) Returns sequence information about the last message sent to the queue for which an order acknowledgment was received.
PROPID_MGMT_QUEUE_EOD_LAST_ACK_COUNT (Read-only, introduced in MSMQ 3.0.) Returns the number of times that the last order acknowledgment for a message sent from the computer to the queue was received.
PROPID_MGMT_QUEUE_EOD_LAST_ACK_TIME (Read-only, introduced in MSMQ 3.0.) Returns the date and time when the last order acknowledgment for a message sent from the computer to the queue was received.
PROPID_MGMT_QUEUE_EOD_LAST_NON_ACK (Read-only, introduced in MSMQ 3.0.) Returns sequence information about the last message sent from the computer to the queue for which no order acknowledgment has been received.
PROPID_MGMT_QUEUE_EOD_NEXT_SEQ (Read-only, introduced in MSMQ 3.0.) Returns sequence information about the next message to be sent from the computer to the queue.
PROPID_MGMT_QUEUE_EOD_NO_ACK_COUNT (Read-only, introduced in MSMQ 3.0.) Returns the number of messages sent from the computer to the queue for which no order acknowledgment has been received.
PROPID_MGMT_QUEUE_EOD_NO_READ_COUNT (Read-only, introduced in MSMQ 3.0.) Returns the number of messages sent from the computer to the queue for which an order acknowledgment has been received, but a receive acknowledgment message has not.
PROPID_MGMT_QUEUE_EOD_RESEND_COUNT (Read-only, introduced in MSMQ 3.0.) Returns the number of times that the last message in the corresponding outgoing queue on the computer was sent.
PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL (Read-only, introduced in MSMQ 3.0.) Returns the resend interval for the messages in the outgoing queue for which no order acknowledgment has been received.
PROPID_MGMT_QUEUE_EOD_RESEND_TIME (Read-only, introduced in MSMQ 3.0.) Returns the time when Message Queuing will attempt to send a message from the computer to the queue again.
PROPID_MGMT_QUEUE_EOD_SOURCE_INFO (Read-only, introduced in MSMQ 3.0.) Returns information about the messages sent from all source computers to the queue on the target computer.
PROPID_MGMT_QUEUE_FOREIGN (Read-only, introduced in MSMQ 3.0.) Returns a string that indicates whether the queue is or is not a foreign queue.
PROPID_MGMT_QUEUE_FORMATNAME (Read-only, introduced in MSMQ 3.0.) Returns the format name of the queue.
PROPID_MGMT_QUEUE_JOURNAL_MESSAGE_COUNT (Read-only, introduced in MSMQ 3.0.) Returns the number of messages in the queue journal.
PROPID_MGMT_QUEUE_LOCATION (Read-only, introduced in MSMQ 3.0.) Returns a string that indicates whether the queue is or is not located on the computer.
PROPID_MGMT_QUEUE_MESSAGE_COUNT (Read-only, introduced in MSMQ 3.0.) Returns the number of messages in the queue.
PROPID_MGMT_QUEUE_NEXTHOPS (Read-only, introduced in MSMQ 3.0.) Returns the address or a list of possible addresses for routing messages to the destination queue in the next hop.
PROPID_MGMT_QUEUE_PATHNAME (Read-only, introduced in MSMQ 3.0.) Returns the path name of the queue.
PROPID_MGMT_QUEUE_STATE (Read-only, introduced in MSMQ 3.0.) Returns the connection state of the outgoing queue.
PROPID_MGMT_QUEUE_TYPE (Read-only, introduced in MSMQ 3.0.) Returns a string that indicates whether the queue is a public, private, system, connector, or multicast outgoing queue.
PROPID_MGMT_QUEUE_XACT (Read-only, introduced in MSMQ 3.0.) Returns a string that indicates whether the queue is or is not transactional.
PROPID_MGMT_QUEUE_SUBQUEUE_COUNT (Read-only) Returns the count of the number of subqueues in a specified queue.
PROPID_MGMT_QUEUE_SUBQUEUE_NAMES (Read-only) Retrieves the names of the subqueues in a specified queue.

See Also

Message Queuing Properties
MQMGMTPROPS
MQMgmtGetInfo