NotificationClassEnumeration Constructor (NSApplication)
NotificationClassEnumeration クラスのインスタンスを作成して初期化します。
名前空間: Microsoft.SqlServer.NotificationServices
アセンブリ: Microsoft.SqlServer.NotificationServices (microsoft.sqlserver.notificationservices.dll 内)
構文
'宣言
Public Sub New ( _
application As NSApplication _
)
public NotificationClassEnumeration (
NSApplication application
)
public:
NotificationClassEnumeration (
NSApplication^ application
)
public NotificationClassEnumeration (
NSApplication application
)
public function NotificationClassEnumeration (
application : NSApplication
)
パラメータ
- application
この SubscriptionClassEnumeration オブジェクトによって列挙されるサブスクリプション クラスを含む Notification Services アプリケーションを表す NSApplication です。
使用例
Dim instanceName As String = "MyInstanceName"
Dim applicationName As String = "MyApplicationName"
'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)
'Create an NSApplication object.
Dim myApplication As New NSApplication(myInstance, applicationName)
'Create a NotificationClassEnumeration object.
Dim myNotificationClassEnumeration As _
New NotificationClassEnumeration(myApplication)
string instanceName = "MyInstanceName";
string applicationName = "MyApplicationName";
//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);
//Create an NSApplication object.
NSApplication myApplication =
new NSApplication(myInstance, applicationName);
//Create a NotificationClassEnumeration object.
NotificationClassEnumeration myEventClassEnumeration =
new NotificationClassEnumeration(myApplication);
プラットフォーム
開発プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
対象プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
参照
関連項目
NotificationClassEnumeration Class
NotificationClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace