Udostępnij przez


ServiceBroker.Routes Property

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 (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(ServiceRoute))> _
Public ReadOnly Property Routes As ServiceRouteCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(ServiceRoute))] 
public ServiceRouteCollection Routes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(ServiceRoute))] 
public:
property ServiceRouteCollection^ Routes {
    ServiceRouteCollection^ get ();
}
/** @property */
public ServiceRouteCollection get_Routes ()
public function get Routes () : ServiceRouteCollection

Property Value

A ServiceRouteCollection object that represents all the service routes defined on the instance of Service Broker.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.