MSMQQueueManagement.BytesInJournal

 

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

Data type: Variant
Run-time access: Read-only
Property BytesInJournal As Variant  

Property Value

A Variant containing an unsigned 64-bit integer that specifies (in bytes) the amount of data in the queue journal.

Remarks

This property can be retrieved only for an active queue.

The journal quota of a queue, or the maximum number of bytes that can be stored in the journal, is set by the JournalQuota property of the queue.

Equivalent API Function Property

When using API functions, the equivalent property is PROPID_MGMT_QUEUE_BYTES_IN_JOURNAL.

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_BYTES_IN_JOURNAL