Share via


BrokerPriority.PriorityLevel Property

Gets or sets the priority level associated with the BrokerPriority object.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PriorityLevel As Byte 
    Get 
    Set
'Usage
Dim instance As BrokerPriority 
Dim value As Byte 

value = instance.PriorityLevel

instance.PriorityLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public byte PriorityLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property unsigned char PriorityLevel {
    unsigned char get ();
    void set (unsigned char value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PriorityLevel : byte with get, set
function get PriorityLevel () : byte 
function set PriorityLevel (value : byte)

Property Value

Type: System.Byte
A Byte value that specifies the priority level to be assigned to any conversation endpoint that uses the contract and services specified in the conversation priority.

Remarks

PriorityLevel must be an integer from 1 (lowest priority) to 10 (highest priority). The default is 5.

Examples

CREATE BROKER PRIORITY (Transact-SQL)

See Also

Reference

BrokerPriority Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Conversation Priorities

Manage Conversation Priorities

Troubleshoot Conversation Priorities

DEL - Development (Service Broker)

Service Broker

CREATE BROKER PRIORITY (Transact-SQL)