MessageQueueAccessControlEntry Constructor(Trustee,MessageQueueAccessRights,AccessControlEntryType)
Initializes a new instance of the MessageQueueAccessControlEntry class, with the specified trustee and Message Queuing access rights. The type of access (such as Allow or Deny) is defined by the entry type you pass in.
Syntax
'Declaration Public Function New( _ ByVal trustee As Trustee, _ ByVal rights As MessageQueueAccessRights, _ ByVal entryType As AccessControlEntryType _ )
'Usage Dim trustee As Trustee Dim rights As MessageQueueAccessRights Dim entryType As AccessControlEntryType Dim instance As New MessageQueueAccessControlEntry(trustee, rights, entryType)
public MessageQueueAccessControlEntry( Trustee trustee, MessageQueueAccessRights rights, AccessControlEntryType entryType )
public: MessageQueueAccessControlEntry( Trustee^ trustee, MessageQueueAccessRights rights, AccessControlEntryType entryType )
Parameters
- trustee
- A Trustee that specifies a user, group, computer, domain, or alias.
- rights
- A bitwise combination of the MessageQueueAccessRights values which defines the combination of rights to grant to the trustee.
- entryType
- One of the AccessControlEntryType values, which specifies whether to allow, deny, set or revoke the specified rights.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also