Udostępnij przez


Właściwość ServiceQueueCollection.Item (String)

Pobiera ServiceQueue obiektu kolekcja według nazwy.

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

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String _
) As ServiceQueue
    Get
'Użycie
Dim instance As ServiceQueueCollection
Dim name As String
Dim value As ServiceQueue

value = instance(name)
public ServiceQueue this[
    string name
] { get; }
public:
property ServiceQueue^ default[String^ name] {
    ServiceQueue^ get (String^ name);
}
member Item : ServiceQueue
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

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