SubscriberDeviceEnumeration Constructor (NSInstance, String)
Creates and initializes an instance of the SubscriberDeviceEnumeration class.
Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
nsInstance As NSInstance, _
subscriberId As String _
)
public SubscriberDeviceEnumeration (
NSInstance nsInstance,
string subscriberId
)
public:
SubscriberDeviceEnumeration (
NSInstance^ nsInstance,
String^ subscriberId
)
public SubscriberDeviceEnumeration (
NSInstance nsInstance,
String subscriberId
)
public function SubscriberDeviceEnumeration (
nsInstance : NSInstance,
subscriberId : String
)
Parametri
- nsInstance
An NSInstance representing the Notification Services instance that contains the subscriber devices.
- subscriberId
A String containing the subscriber ID of the subscriber with whom the devices are associated.
Esempio
The following examples show how to create and initialize a SubscriberDeviceEnumeration in managed code:
Dim instanceName As String = "MyInstanceName"
Dim subscriberId As String = "MySubscriberID"
'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)
'Create a SubscriberDeviceEnumeration object.
Dim mySubscriberDeviceEnumeration As _
New SubscriberDeviceEnumeration(myInstance, subscriberId)
string instanceName = "MyInstanceName";
string subscriberId = "MySubscriberID";
//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);
//Create a SubscriberDeviceEnumeration object.
SubscriberDeviceEnumeration mySubscriberDeviceEnumeration =
new SubscriberDeviceEnumeration(myInstance, subscriberId);
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
SubscriberDeviceEnumeration Class
SubscriberDeviceEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace