MessageQueueAccessRights MessageQueueAccessRights MessageQueueAccessRights MessageQueueAccessRights Enum

定義

指定訊息佇列專屬作業的物件專用存取權集合。Specifies a set of object-specific access rights for operations specific to Message Queuing.

此列舉具有 FlagsAttribute 個屬性允許以位元方式合併其成員值。

public enum class MessageQueueAccessRights
[System.Flags]
[System.Serializable]
public enum MessageQueueAccessRights
type MessageQueueAccessRights = 
Public Enum MessageQueueAccessRights
繼承
MessageQueueAccessRightsMessageQueueAccessRightsMessageQueueAccessRightsMessageQueueAccessRights
屬性

欄位

ChangeQueuePermissions ChangeQueuePermissions ChangeQueuePermissions ChangeQueuePermissions 262144

修改佇列使用權限的權限。The right to modify queue permissions.

DeleteJournalMessage DeleteJournalMessage DeleteJournalMessage DeleteJournalMessage 8

從日誌佇列刪除訊息的權限。The right to delete messages from the journal queue.

DeleteMessage DeleteMessage DeleteMessage DeleteMessage 1

從佇列刪除訊息的權限。The right to delete messages from the queue.

DeleteQueue DeleteQueue DeleteQueue DeleteQueue 65536

刪除佇列的權限。The right to delete the queue.

FullControl FullControl FullControl FullControl 983103

存取佇列的完整權限。Full rights to the queue. 列舉型別中所有其他權限的集合。A union of all other rights in the enumeration.

GenericRead GenericRead GenericRead GenericRead 131115

GetQueuePropertiesGetQueuePermissionsReceiveMessageReceiveJournalMessage 的組合。A combination of GetQueueProperties, GetQueuePermissions, ReceiveMessage, and ReceiveJournalMessage.

GenericWrite GenericWrite GenericWrite GenericWrite 131108

GetQueuePropertiesGetQueuePermissionsWriteMessage 的組合。A combination of GetQueueProperties, GetQueuePermissions, and WriteMessage.

GetQueuePermissions GetQueuePermissions GetQueuePermissions GetQueuePermissions 131072

讀取佇列使用權限的權限。The right to read queue permissions.

GetQueueProperties GetQueueProperties GetQueueProperties GetQueueProperties 32

讀取佇列屬性的權限。The right to read properties of the queue.

PeekMessage PeekMessage PeekMessage PeekMessage 2

窺視佇列訊息的權限。The right to peek messages from the queue.

ReceiveJournalMessage ReceiveJournalMessage ReceiveJournalMessage ReceiveJournalMessage 10

從日誌佇列接收訊息的權限。The right to receive messages from the journal queue. 其中包括從日誌佇列刪除和窺視訊息的權限。This includes the rights to delete and peek messages from the journal queue.

ReceiveMessage ReceiveMessage ReceiveMessage ReceiveMessage 3

從佇列接收訊息的權限。The right to receive messages from the queue. 其中包括刪除和窺視訊息的權限。This includes the rights to delete and peek messages.

SetQueueProperties SetQueueProperties SetQueueProperties SetQueueProperties 16

修改佇列屬性的權限。The right to modify properties of the queue.

TakeQueueOwnership TakeQueueOwnership TakeQueueOwnership TakeQueueOwnership 524288

取得佇列所有權的權限。The right to take ownership of the queue.

WriteMessage WriteMessage WriteMessage WriteMessage 4

要傳送訊息至佇列的權限。The right to send messages to the queue.

備註

MessageQueueAccessRights列舉可讓您指定訊息佇列物件特定的許可權, 例如接收、查看或寫入訊息, 或設定佇列屬性。The MessageQueueAccessRights enumeration enables you to specify Message Queuing object-specific rights such as receiving, peeking, or writing messages, or setting queue properties. 這是GenericAccessRights列舉對應大量讀取、寫入或執行功能的兩個列舉的其中一個。It is one of two enumerations to which the GenericAccessRights enumeration maps extensive read, write, or execute abilities. StandardAccessRights一個是, 可讓您指定大多數物件通用的許可權, 例如, 刪除物件或讀取安全描述項。The other, StandardAccessRights, enables you to specify rights common to most objects, for example, deleting the object or reading a security descriptor.

StandardAccessRightsMessageQueueAccessRights都會提供刪除佇列的成員。Both StandardAccessRights and MessageQueueAccessRights provide a member for deleting a queue. 應用程式的需求會定義您使用的旗標集。The needs of the application define which set of flags you use.

MessageQueueAccessRights列舉相關聯的存取權限會列在 [佇列屬性] 視窗的 [許可權] 方塊中。The access rights associated with the MessageQueueAccessRights enumeration are listed in the Permissions box of the queue properties window.

適用於

另請參閱