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