Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MessageQueue.SetPermissions Method

Adds permissions to the current set. This controls who has access rights to queue properties and messages in the queue.

Overload List

Assigns access rights to the queue based on the contents of an access control list.

[Visual Basic] Overloads Public Sub SetPermissions(AccessControlList)
[C#] public void SetPermissions(AccessControlList);
[C++] public: void SetPermissions(AccessControlList*);
[JScript] public function SetPermissions(AccessControlList);

Assigns access rights to the queue based on the contents of an access control entry.

[Visual Basic] Overloads Public Sub SetPermissions(MessageQueueAccessControlEntry)
[C#] public void SetPermissions(MessageQueueAccessControlEntry);
[C++] public: void SetPermissions(MessageQueueAccessControlEntry*);
[JScript] public function SetPermissions(MessageQueueAccessControlEntry);

Gives a computer, group, or user the specified access rights.

[Visual Basic] Overloads Public Sub SetPermissions(String, MessageQueueAccessRights)
[C#] public void SetPermissions(string, MessageQueueAccessRights);
[C++] public: void SetPermissions(String*, MessageQueueAccessRights);
[JScript] public function SetPermissions(String, MessageQueueAccessRights);

Gives a computer, group, or user the specified access rights, with the specified access control type (allow, deny, revoke, or set).

[Visual Basic] Overloads Public Sub SetPermissions(String, MessageQueueAccessRights, AccessControlEntryType)
[C#] public void SetPermissions(string, MessageQueueAccessRights, AccessControlEntryType);
[C++] public: void SetPermissions(String*, MessageQueueAccessRights, AccessControlEntryType);
[JScript] public function SetPermissions(String, MessageQueueAccessRights, AccessControlEntryType);

See Also

MessageQueue Class | MessageQueue Members | System.Messaging Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.