NotificationClassEnumeration Class

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

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

構文

'宣言
<ComVisibleAttribute(True)> _
<GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13")> _
<DefaultMemberAttribute("Item")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class NotificationClassEnumeration
    Implements INotificationClassEnumeration, IEnumerable
[ComVisibleAttribute(true)] 
[GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13")] 
[DefaultMemberAttribute("Item")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class NotificationClassEnumeration : INotificationClassEnumeration, IEnumerable
[ComVisibleAttribute(true)] 
[GuidAttribute(L"F5523B19-E918-3E7F-B72A-0061895BBE13")] 
[DefaultMemberAttribute(L"Item")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class NotificationClassEnumeration : INotificationClassEnumeration, IEnumerable
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class NotificationClassEnumeration implements INotificationClassEnumeration, IEnumerable
ComVisibleAttribute(true) 
GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13") 
DefaultMemberAttribute("Item") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class NotificationClassEnumeration implements INotificationClassEnumeration, IEnumerable

解説

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

NotificationClassEnumeration クラスを使用して、指定した Notification Services アプリケーションの通知クラスのセットを繰り返し処理できます。このクラスには Item プロパティがあり、これを使用して特定の通知クラスを表す NotificationClass オブジェクトを取得することができます。

継承階層

System.Object
  Microsoft.SqlServer.NotificationServices.NotificationClassEnumeration

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

NotificationClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace