ServiceBroker.Routes 属性
Represents a collection of ServiceRoute objects. Each ServiceRoute object represents a service route defined on the instance of Service Broker.
命名空间: Microsoft.SqlServer.Management.Smo.Broker
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(ServiceRoute))> _
Public ReadOnly Property Routes As ServiceRouteCollection
Get
用法
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
属性值
类型:Microsoft.SqlServer.Management.Smo.Broker.ServiceRouteCollection
A ServiceRouteCollection object that represents all the service routes defined on the instance of Service Broker.
示例
Readme_ServiceBrokerConfiguration
请参阅
参考
Microsoft.SqlServer.Management.Smo.Broker 命名空间