ProtocolEnumeration Class

指定した Notification Services アプリケーションの配信プロトコルのコレクションを表します。このクラスは、Microsoft SQL Server 2005 では推奨されません。

名前空間: Microsoft.SqlServer.NotificationServices
アセンブリ: Microsoft.SqlServer.NotificationServices (microsoft.sqlserver.notificationservices.dll 内)

構文

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

解説

SQL Server 2005 では、インスタンスとアプリケーションを作成および管理するためのクラスは Microsoft.SqlServer.Management.Nmo 名前空間にあります。このクラスの代わりに Microsoft.SqlServer.Management.Nmo.NotificationClass.NotificationClassProtocols プロパティが使用されます。このプロパティでは、NotificationClassProtocolCollection オブジェクトが返されます。このクラスは Notification Services の以前のバージョンとの互換性を維持する目的で含まれているもので、今後のリリースでサポートされなくなる可能性があります。

ProtocolEnumeration クラスを使用すると、指定した Notification Services インスタンスに対して定義された、使用可能な配信プロトコルすべてを繰り返し処理できます。このクラスには Item プロパティがあり、これを使用して特定の配信プロトコルを表す Protocol オブジェクトを取得することができます。

継承階層

System.Object
  Microsoft.SqlServer.NotificationServices.ProtocolEnumeration

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

ProtocolEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace