ProtocolPropertyCollection クラス

ProtocolPropertyCollection クラスは、親オブジェクトで定義されたプロトコルのすべての属性を表す ProtocolProperty オブジェクトのコレクションを表します。

継承階層

System.Object
  Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
    Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocolPropertyCollection
    Microsoft.SqlServer.Management.Smo.Wmi.IPAddressPropertyCollection
    Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolPropertyCollection

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

構文

'宣言
Public MustInherit Class ProtocolPropertyCollection _
    Implements ICollection, IEnumerable
'使用
Dim instance As ProtocolPropertyCollection
public abstract class ProtocolPropertyCollection : ICollection, 
    IEnumerable
public ref class ProtocolPropertyCollection abstract : ICollection, 
    IEnumerable
[<AbstractClassAttribute>]
type ProtocolPropertyCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public abstract class ProtocolPropertyCollection implements ICollection, IEnumerable

ProtocolPropertyCollection 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ Count 参照先のコレクションに含まれる ProtocolProperty オブジェクトの数を取得します。
パブリック プロパティ IsSynchronized コレクションへのアクセスが同期され、スレッド セーフかどうかを示す Boolean プロパティ値を取得します。
パブリック プロパティ Item[Int32] コレクション内にある指定したインデックス番号の ProtocolPropertyCollection オブジェクトを取得します。
パブリック プロパティ Item[String] コレクション内にある指定した名前の ProtocolProperty オブジェクトを取得します。
パブリック プロパティ SyncRoot コレクションへのアクセスの同期に使用できるオブジェクトを取得します。

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Contains 指定したキーの値がコレクション内に存在するかどうかを確認します。
パブリック メソッド CopyTo 1 次元の配列にコレクション オブジェクトをコピーします。その際、指定されたインデックス値の位置からコピーを開始します。
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetEnumerator IEnumerator インターフェイスを返します。このインターフェイスを使用すると、コレクション内のオブジェクトを繰り返し処理できます。
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

明示的なインターフェイスの実装

  名前 説明
明示的なインターフェイスの実装プライベート メソッド ICollection.CopyTo 1 次元の配列にコレクション オブジェクトをコピーします。その際、指定されたインデックス値の位置からコピーを開始します。

先頭に戻る

説明

ProtocolPropertyCollection オブジェクトは、ServerProtocolPropertyCollection オブジェクト、IPAddressPropertyCollection オブジェクト、および ClientProtocolPropertyCollection オブジェクトの作成に使用されます。また、このオブジェクトにはすべてのオブジェクトに共通する機能が含まれます。

ProtocolPropertyCollection オブジェクトを使用して、一連のプロトコルの属性にアクセスできます。 特定の ProtocolProperty オブジェクトを取得するには、Item プロパティを使用します。

スレッド セーフ

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

使用例

コレクションの使用

スレッド セーフ

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

関連項目

参照

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