AuthLevel
MSMQMessage

The AuthLevel property specifies whether or not the message must be authenticated when it arrives at the target queue.

Quick Info

Type: Long
Run time: read/write

Syntax

object.AuthLevel
 
Syntax Element Description
object Message (MSMQMessage) object that defines the queue.

Settings

Set AuthLevel to one of the following values:

MQMSG_AUTH_LEVEL_NONE
The default. The message does not have to be authenticated when it arrives at the target queue
MQMSG_AUTH_LEVEL_ALWAYS
The message must be authenticated when it arrives at the target queue.

Remarks

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 or not the queue accepts only authenticated messages.


© 1997 by Microsoft Corporation. All rights reserved.