次の方法で共有


DeliveryChannelEnumeration Constructor (NSInstance)

DeliveryChannelEnumeration クラスのオブジェクトを作成して初期化します。

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

構文

'宣言
Public Sub New ( _
    nsInstance As NSInstance _
)
public DeliveryChannelEnumeration (
    NSInstance nsInstance
)
public:
DeliveryChannelEnumeration (
    NSInstance^ nsInstance
)
public DeliveryChannelEnumeration (
    NSInstance nsInstance
)
public function DeliveryChannelEnumeration (
    nsInstance : NSInstance
)

パラメータ

  • nsInstance
    Notification Services のインスタンスを表す NSInstance です。

使用例

マネージ コードで DeliveryChannelEnumeration オブジェクトを作成して初期化する例を次に示します。

これらの例では、Microsoft.SqlServer.NotificationServices 名前空間を使用しています。

Dim instanceName As String = "MyInstanceName"

'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)

'Create a DeliveryChannelEnumeration object.
Dim myDeliveryChannelEnumeration As _
    New DeliveryChannelEnumeration(myInstance)
string instanceName = "MyInstanceName";

//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);

//Create a DeliveryChannelEnumeration object.
DeliveryChannelEnumeration myDeliveryChannelEnumeration = 
    new DeliveryChannelEnumeration(myInstance);

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

DeliveryChannelEnumeration Class
DeliveryChannelEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace