Udostępnij za pośrednictwem


Właściwość ServiceBroker.Services

Reprezentuje kolekcja BrokerService obiektów.Każdy BrokerService reprezentuje obiekt Service Broker usługa zdefiniowane dla wystąpienie Service Broker.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Broker
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(BrokerService))> _
Public ReadOnly Property Services As BrokerServiceCollection
    Get
'Użycie
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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceCollection
A BrokerServiceCollection obiekt reprezentujący wszystkie Service Broker usługi zdefiniowane dla wystąpienie Service Broker.