Partager via


Propriété Item (String)

Gets a BrokerPriority object in the collection by name.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As BrokerPriority
    Get
'Utilisation
Dim instance As BrokerPriorityCollection
Dim name As String
Dim value As BrokerPriority

value = instance(name)
public BrokerPriority this[
    string name
] { get; }
public:
property BrokerPriority^ default[String^ name] {
    BrokerPriority^ get (String^ name);
}
member Item : BrokerPriority
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Broker. . :: . .BrokerPriority
A BrokerPriority object value that represents the conversation priority.