Delen via


MSMQQueueManagement.JournalMessageCount

 

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 JournalMessageCount property of the MSMQQueueManagement object, which represents the state of a destination queue, returns the number of journal messages in the journal of the destination queue.

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

Property Value

A long integer indicating the number of journal messages in the queue journal.

Remarks

This property can be retrieved only for an active queue.

Equivalent API Function Property

When using API functions, the equivalent property is PROPID_MGMT_QUEUE_JOURNAL_MESSAGE_COUNT.

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

MSMQQueueManagement
PROPID_MGMT_QUEUE_JOURNAL_MESSAGE_COUNT