Share via


JunctionPolicy.Authorization Property

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the authorization policy for the current instance.

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

Usage

    Dim instance As JunctionPolicy
Dim value As AuthorizationPolicy

value = instance.Authorization

instance.Authorization = value

Syntax

'Declaration
Public Property Authorization As AuthorizationPolicy
public AuthorizationPolicy Authorization { get; set; }
public:
property AuthorizationPolicy Authorization {
    AuthorizationPolicy get ();
    void set (AuthorizationPolicy value);
}
/** @property */
public AuthorizationPolicy get_Authorization ()

/** @property */
public void set_Authorization (AuthorizationPolicy value)
public function get Authorization () : AuthorizationPolicy

public function set Authorization (value : AuthorizationPolicy)

Property Value

Returns AuthorizationPolicy. The authorization policy set on this instance.

Remarks

Authorization determines which operations on the queue or router represented by the policy require clients to be authorized. Setting Authorization to NotRequired allows unauthenticated clients to send and receive messages. A value of Required forces all clients to be authorized in order to perform any operation on the queue or router. RequiredToSend or RequiredToListen forces client authorization on send or listen operations, respectively.

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