Setting MSMQQueueInfo.PrivLevel
A version of this page is also available for
4/8/2010
The privacy level of the queue specifies how the queue handles private (encrypted) messages.
By default, a queue can accept private or non-private messages.
To change the privacy level of a queue
Declare an MSMQQueueInfo object.
Call MSMQQueueInfo.Refresh to retrieve the existing properties of the queue.
Set MSMQQueueInfo.PrivLevel to the new privacy level.
Call MSMQQueueInfo.Update to change the privacy level of the queue.
See Also
Concepts
MSMQ COM Support
Using the COM Components
MSMQ Security