次の方法で共有


BrokerServiceCollection クラス

BrokerServiceCollection クラスは、データベースで定義されたすべての Service Broker サービスを表す BrokerService オブジェクトのコレクションです。

名前空間:  Microsoft.SqlServer.Management.Smo.Broker
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public NotInheritable Class BrokerServiceCollection _
    Inherits SimpleObjectCollectionBase
'使用
Dim instance As BrokerServiceCollection
public sealed class BrokerServiceCollection : SimpleObjectCollectionBase
public ref class BrokerServiceCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type BrokerServiceCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class BrokerServiceCollection extends SimpleObjectCollectionBase

説明

BrokerServiceCollection オブジェクトは、一連の Service Broker のサービスにアクセスするために使用できます。Item プロパティを使用すると、特定の BrokerService オブジェクトを取得できます。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。