PROPID_Q_CREATE_TIME

Optional read-only. The PROPID_Q_CREATE_TIME property indicates the time and date when the queue was created.

Type Indicator
VT_I4
PROPVARIANT Field
lVal
Property Values
Time when the queue was created.

Remarks

This property is set by MSMQ when MQCreateQueue is called. An error is returned (MQ_ERROR_PROPERTY_NOTALLOWED) if any attempt is made to set this property. 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_CREATE_TIME. For example, ctime() can be used to display the local date and time that the queue was created.

To determine when the queue was created, pass PROPID_Q_CREATE_TIME to MQGetQueueProperties and examine its returned value.

See Also

MQCreateQueue, MQGetQueueProperties


© 1997 by Microsoft Corporation. All rights reserved.