Share via


Discoverability Property

Gets or sets the discoverability policy for the message buffer.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
Public Property Discoverability As DiscoverabilityPolicy
    Get
    Set
'Usage
Dim instance As MessageBufferPolicy
Dim value As DiscoverabilityPolicy

value = instance.Discoverability

instance.Discoverability = value
public DiscoverabilityPolicy Discoverability { get; set; }
public:
property DiscoverabilityPolicy Discoverability {
    DiscoverabilityPolicy get ();
    void set (DiscoverabilityPolicy value);
}
member Discoverability : DiscoverabilityPolicy with get, set
function get Discoverability () : DiscoverabilityPolicy
function set Discoverability (value : DiscoverabilityPolicy)

Property Value

Type: Microsoft.ServiceBus. . :: . .DiscoverabilityPolicy
Returns a DiscoverabilityPolicy that contains the discoverability policy.

Remarks

Discoverability determines whether your message buffer is visible on the .NET Services ATOM feed. If your message buffer is not visible, then only clients that know the exact URI can access it. The default is Managers, meaning that applications that have manager permissions can see the URI; usually, this simply refers to the application that created the buffer. For more information on configuring a message buffer, see How to: Configure an AppFabric Service Bus Message Buffer.

See Also

Reference

MessageBufferPolicy Class

Microsoft.ServiceBus Namespace