次の方法で共有


ServiceRouteCollection クラス

ServiceRouteCollection クラスは、データベースで定義されたすべてのサービス ルートを表す ServiceRoute オブジェクトのコレクションを表します。

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

構文

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

説明

ServiceRouteCollection オブジェクトは、一連のサービス ルートにアクセスするために使用できます。Item プロパティを使用して、特定の ServiceRoute オブジェクトを取得できます。

スレッド セーフ

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

スレッド セーフ

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