Partager via


Services propriété

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 (dans 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 la 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.