Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets or sets the discoverability policy for the current instance.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)
Usage
Dim instance As JunctionPolicy Dim value As DiscoverabilityPolicy value = instance.Discoverability instance.Discoverability = value
Syntax
'Declaration
Public Property Discoverability As DiscoverabilityPolicy
public DiscoverabilityPolicy Discoverability { get; set; }
public:
property DiscoverabilityPolicy Discoverability {
DiscoverabilityPolicy get ();
void set (DiscoverabilityPolicy value);
}
/** @property */
public DiscoverabilityPolicy get_Discoverability ()
/** @property */
public void set_Discoverability (DiscoverabilityPolicy value)
public function get Discoverability () : DiscoverabilityPolicy
public function set Discoverability (value : DiscoverabilityPolicy)
Property Value
Returns DiscoverabilityPolicy. Contains the discoverability policy for the current instance.
Remarks
The DiscoverabilityPolicy of a queue or router determines what security claims are required in order to discover the queue or router in the Service Registry. Queues or routers set to Public are visible to everyone; Managers requires users to have Manage permissions to discover the queue or router; ManagersListeners requires either Manage or Listen permission; ManagersListenersSenders requires either Manage, Listen, or Send permissions.
A user with appropriate permissions can still interact with the queue or router created with the policy. This is true even if the user cannot discover the queue or router. For example, a user that knows the URI of a queue and has Send permissions to the queue can still enqueue messages even if the DiscoverabilityPolicy of the queue is set to Managers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
JunctionPolicy Class
JunctionPolicy Members
Microsoft.ServiceBus Namespace