Propriété BrokerPriority.PriorityLevel
Gets or sets the priority level associated with the BrokerPriority object.
Espace de noms : Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PriorityLevel As Byte
Get
Set
'Utilisation
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)
Valeur de propriété
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.
Notes
PriorityLevel must be an integer from 1 (lowest priority) to 10 (highest priority). The default is 5.
Exemples
CREATE BROKER PRIORITY (Transact-SQL)
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Broker
Autres ressources
Gestion des priorités de conversation
Résolution des problèmes liés aux priorités de conversation
Développement (Service Broker)