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


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

Gets a ServiceQueue object in the collection by name.

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

Синтаксис

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

Параметры

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

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

Примеры

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

См. также

Справочник

ServiceQueueCollection Класс

Перегрузка Item

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

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

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