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


Свойство Item (Int32)

Gets a BrokerService object in the collection by index number.

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

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    index As Integer _
) As BrokerService
    Get
'Применение
Dim instance As BrokerServiceCollection
Dim index As Integer
Dim value As BrokerService

value = instance(index)
public BrokerService this[
    int index
] { get; }
public:
property BrokerService^ default[int index] {
    BrokerService^ get (int index);
}
member Item : BrokerService
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

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

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