System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermissionEntryCollection Class / Add Method
The MessageQueuePermissionEntry to add.



In This Topic
    Add Method (MessageQueuePermissionEntryCollection)
    In This Topic
    Adds a specified MessageQueuePermissionEntry to this collection.
    Syntax
    'Declaration
     
    
    Public Function Add( _
       ByVal value As MessageQueuePermissionEntry _
    ) As Integer
    'Usage
     
    
    Dim instance As MessageQueuePermissionEntryCollection
    Dim value As MessageQueuePermissionEntry
    Dim value As Integer
     
    value = instance.Add(value)

    Parameters

    value
    The MessageQueuePermissionEntry to add.

    Return Value

    The zero-based index of the added MessageQueuePermissionEntry.
    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