Udostępnij za pośrednictwem


Właściwość Item (Int32)

Pobiera ServiceQueue obiektu kolekcja według numeru indeksu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Broker
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServiceQueue
    Get
'Użycie
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceQueue
A ServiceQueue wartość obiektu, który reprezentuje kolejkę usługa.