次の方法で共有


ServiceRouteCollection.Item プロパティ (Int32)

コレクション内にある指定したインデックス番号の ServiceRoute オブジェクトを取得します。

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

構文

'宣言
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServiceRoute 
    Get
'使用
Dim instance As ServiceRouteCollection 
Dim index As Integer 
Dim value As ServiceRoute 

value = instance(index)
public ServiceRoute this[
    int index
] { get; }
public:
property ServiceRoute^ default[int index] {
    ServiceRoute^ get (int index);
}
member Item : ServiceRoute
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Broker.ServiceRoute
サービス ルートを表す ServiceRoute オブジェクトの値です。

使用例

コレクションの使用

関連項目

参照

ServiceRouteCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Smo.Broker 名前空間

その他の技術情報

コレクションの使用