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