Compartilhar via


Propriedade do RDL ServiceBroker.Routes

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

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServiceRoute))> _
Public ReadOnly Property Routes As ServiceRouteCollection 
    Get
'Uso
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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Broker.ServiceRouteCollection
A ServiceRouteCollection object that represents all the service routes defined on the instance of Service Broker.

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

ServiceBroker Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Desenvolvimento (Service Broker)

Gerenciando o Service Broker

Visão geral (Service Broker)