Delen via


ServiceBroker.Priorities Property

Represents a collection of BrokerPriority objects. Each BrokerPriority object represents a Service Broker conversation priority defined on the instance of Service Broker.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(BrokerPriority))> _
Public ReadOnly Property Priorities As BrokerPriorityCollection
    Get
'Usage
Dim instance As ServiceBroker
Dim value As BrokerPriorityCollection

value = instance.Priorities
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(BrokerPriority))]
public BrokerPriorityCollection Priorities { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(BrokerPriority))]
public:
property BrokerPriorityCollection^ Priorities {
    BrokerPriorityCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(BrokerPriority))>]
member Priorities : BrokerPriorityCollection
function get Priorities () : BrokerPriorityCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.BrokerPriorityCollection
A BrokerPriorityCollection object that represents all the Service Broker conversation priorities defined on the instance of Service Broker.