Partager via


Propriété ServiceBroker.Services

Represents a collection of BrokerService objects. Each BrokerService object represents a Service Broker service defined on the instance of Service Broker.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(BrokerService))> _
Public ReadOnly Property Services As BrokerServiceCollection 
    Get
'Utilisation
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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceCollection
A BrokerServiceCollection object that represents all the Service Broker services defined on the instance of Service Broker.

Exemples

Readme_ServiceBrokerConfiguration

Voir aussi

Référence

ServiceBroker Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Broker

Autres ressources

Développement (Service Broker)

Gestion de Service Broker

Vue d'ensemble (Service Broker)