Поделиться через


Свойство ServiceQueueCollection.Item (String, String)

Gets a ServiceQueue object in the collection by name and schema.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Broker
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    name As String, _
    schema As String _
) As ServiceQueue 
    Get
'Применение
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
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.Broker.ServiceQueue
A ServiceQueue object value that represents the service queue.

Примеры

Использование коллекций

См. также

Справочник

ServiceQueueCollection Класс

Перегрузка Item

Пространство имен Microsoft.SqlServer.Management.Smo.Broker

Другие ресурсы

Использование коллекций