The AuthLevel property specifies whether the message must be authenticated when it arrives at the target queue.
Type: | Long |
Run time: | read/write |
object.AuthLevel
Syntax Element | Description |
---|---|
object | Message (MSMQMessage) object that defines the queue. |
Set AuthLevel to one of the following values:
This property is only used when sending messages. Messages are authenticated by MSMQ, not by the receiving application.
In addition to messages, queues also have an authentication level. The queue's Authenticate property specifies whether the queue accepts only authenticated messages.
Windows NT: Requires version 4.0 SP3 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mqoai.h.
Import Library: Use mqoa.lib.
Unicode: Defined only as Unicode.