次の方法で共有


ProtocolPropertyCollection Class

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

名前空間: Microsoft.SqlServer.Management.Smo.Wmi
アセンブリ: Microsoft.SqlServer.Smo (microsoft.sqlserver.smo.dll 内)

構文

'宣言
<DefaultMemberAttribute("Item")> _
Public MustInherit Class ProtocolPropertyCollection
    Implements ICollection, IEnumerable
[DefaultMemberAttribute("Item")] 
public abstract class ProtocolPropertyCollection : ICollection, IEnumerable
[DefaultMemberAttribute(L"Item")] 
public ref class ProtocolPropertyCollection abstract : ICollection, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
public abstract class ProtocolPropertyCollection implements ICollection, IEnumerable
DefaultMemberAttribute("Item") 
public abstract class ProtocolPropertyCollection implements ICollection, IEnumerable

解説

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

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

この名前空間、クラス、またはメンバは、Microsoft .NET Framework 2.0 でのみサポートされています。

継承階層

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

使用例

Visual Basic .NET でコレクションのメンバを反復処理する方法

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

ProtocolPropertyCollection Members
Microsoft.SqlServer.Management.Smo.Wmi Namespace

その他の技術情報

コレクションの使用