PROPID_Q_MODIFY_TIME

Optional. The PROPID_Q_MODIFY_TIME property indicates the last time the properties of a queue were modified.

Type Indicator
VT_I4
PROPVARIANT Field
lVal
Property Values
Time when queue properties were last set.

Remarks

This property is set by MSMQ when MQCreateQueue is called, then reset by MSMQ each time the queue properties are modified by calls to MQSetQueueProperties. The time returned is the number of seconds elapsed since midnight (00:00:00), January 1, 1970 (Coordinated Universal time) according to the system clock.

There are several related C run-time functions that can be used to manipulate the value of PROPID_Q_MODIFY_TIME. For example, ctime() can be used to display the local date and time when the queue properties were last modified.

To determine when the queue properties were last modified, pass PROPID_Q_MODIFY_TIME to MQGetQueueProperties or MQLocateBegin (when starting a query) and examine its returned value.

An MQ_ERROR_PROPERTY_NOTALLOWED error is returned if any attempt is made to set this property.

See Also

MQCreateQueue, MQGetQueueProperties, MQLocateBegin, MQSetQueueProperties


© 1997 by Microsoft Corporation. All rights reserved.