ServiceBroker.Services 属性

Represents a collection of BrokerService objects. Each BrokerService object represents a Service Broker service 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(BrokerService))> _
Public ReadOnly Property Services As BrokerServiceCollection 
    Get
用法
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

属性值

类型:Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceCollection
A BrokerServiceCollection object that represents all the Service Broker services defined on the instance of Service Broker.

示例

Readme_ServiceBrokerConfiguration

请参阅

参考

ServiceBroker 类

Microsoft.SqlServer.Management.Smo.Broker 命名空间

其他资源

开发 (Service Broker)

管理 Service Broker

概述 (Service Broker)