Propriété ServiceBroker.Routes
Represents a collection of ServiceRoute objects. Each ServiceRoute object represents a service route 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(ServiceRoute))> _
Public ReadOnly Property Routes As ServiceRouteCollection
Get
'Utilisation
Dim instance As ServiceBroker
Dim value As ServiceRouteCollection
value = instance.Routes
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServiceRoute))]
public ServiceRouteCollection Routes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(ServiceRoute))]
public:
property ServiceRouteCollection^ Routes {
ServiceRouteCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServiceRoute))>]
member Routes : ServiceRouteCollection
function get Routes () : ServiceRouteCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Broker.ServiceRouteCollection
A ServiceRouteCollection object that represents all the service routes defined on the instance of Service Broker.
Exemples
Readme_ServiceBrokerConfiguration
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Broker