Udostępnij przez


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

Pobiera ServiceQueue obiektu kolekcja według nazwy i schematu.

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, _
    schema As String _
) As ServiceQueue
    Get
'Użycie
Dim instance As ServiceQueueCollection
Dim name As String
Dim schema As String
Dim value As ServiceQueue

value = instance(name, schema)
public ServiceQueue this[
    string name,
    string schema
] { get; }
public:
property ServiceQueue^ default[String^ name, String^ schema] {
    ServiceQueue^ get (String^ name, String^ schema);
}
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.