ServerProtocolPropertyCollection クラス

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

継承階層

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

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

構文

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

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

プロパティ

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

先頭に戻る

メソッド

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

先頭に戻る

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

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

先頭に戻る

説明

ServerProtocolPropertyCollection オブジェクトを使用して、一連のサーバー プロトコルの属性にアクセスできます。

スレッド セーフ

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

使用例

コレクションの使用

スレッド セーフ

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

関連項目

参照

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