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


Свойство 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.