Freigeben über


SubscriberDevice Constructor (NSInstance)

Creates and initializes an instance of the SubscriberDevice class.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
Public Sub New ( _
    nsInstance As NSInstance _
)
public SubscriberDevice (
    NSInstance nsInstance
)
public:
SubscriberDevice (
    NSInstance^ nsInstance
)
public SubscriberDevice (
    NSInstance nsInstance
)
public function SubscriberDevice (
    nsInstance : NSInstance
)

Parameter

  • nsInstance
    An NSInstance representing the Notification Services instance that contains the subscriber device.

Beispiel

The following examples show how to create and initialize a SubscriberDevice in managed code:

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);

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

SubscriberDevice Class
SubscriberDevice Members
Microsoft.SqlServer.NotificationServices Namespace