Partager via


Propriété Item (Int32)

Obtient un objet ServiceQueue dans la collection par numéro d'index.

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 ( _
    index As Integer _
) As ServiceQueue
    Get
'Utilisation
Dim instance As ServiceQueueCollection
Dim index As Integer
Dim value As ServiceQueue

value = instance(index)
public ServiceQueue this[
    int index
] { get; }
public:
property ServiceQueue^ default[int index] {
    ServiceQueue^ get (int index);
}
member Item : ServiceQueue
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. . :: . .ServiceQueue
Valeur d'objet ServiceQueue qui représente la file d'attente de service.