Redigera

Dela via


MessageQueueAccessControlEntry.MessageQueueAccessRights Property

Definition

Gets or sets the set of Message Queuing-specific rights to apply to the trustee.

public:
 property System::Messaging::MessageQueueAccessRights MessageQueueAccessRights { System::Messaging::MessageQueueAccessRights get(); void set(System::Messaging::MessageQueueAccessRights value); };
public System.Messaging.MessageQueueAccessRights MessageQueueAccessRights { get; set; }
member this.MessageQueueAccessRights : System.Messaging.MessageQueueAccessRights with get, set
Public Property MessageQueueAccessRights As MessageQueueAccessRights

Property Value

A bitwise combination of the MessageQueueAccessRights members. The default is defined by the rights parameter passed into the constructor.

Remarks

The MessageQueueAccessRights property enables you to specify Message Queuing object-specific rights such as receiving, peeking, or writing messages, or setting queue properties. The value of this property is set by the MessageQueueAccessControlEntry constructor, but you can change it at any time before using this instance of MessageQueueAccessControlEntry in a call to MessageQueue.SetPermissions.

Applies to

See also