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


Свойство ServiceBroker.Services

Represents a collection of BrokerService objects. Each BrokerService object represents a Компонент Service Broker service defined on the instance of Компонент Service Broker.

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

Синтаксис

'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(BrokerService))> _
Public ReadOnly Property Services As BrokerServiceCollection 
    Get
'Применение
Dim instance As ServiceBroker 
Dim value As BrokerServiceCollection 

value = instance.Services
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(BrokerService))]
public BrokerServiceCollection Services { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(BrokerService))]
public:
property BrokerServiceCollection^ Services {
    BrokerServiceCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(BrokerService))>]
member Services : BrokerServiceCollection
function get Services () : BrokerServiceCollection

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

Тип: Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceCollection
A BrokerServiceCollection object that represents all the Компонент Service Broker services defined on the instance of Компонент Service Broker.

Примеры

Readme_ServiceBrokerConfiguration

См. также

Справочник

ServiceBroker Класс

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

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

Разработка (компонент Service Broker)

Управление компонентом Service Broker

Общие сведения (компонент Service Broker)