SubscriberEnumeration Constructor (NSInstance)
Creates and initializes an instance of the SubscriberEnumeration class.
Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
nsInstance As NSInstance _
)
public SubscriberEnumeration (
NSInstance nsInstance
)
public:
SubscriberEnumeration (
NSInstance^ nsInstance
)
public SubscriberEnumeration (
NSInstance nsInstance
)
public function SubscriberEnumeration (
nsInstance : NSInstance
)
Parametri
- nsInstance
An NSInstance object representing the Notification Services instance that contains the collection of subscribers.
Esempio
The following examples show how to create and initialize a SubscriberEnumeration in managed code:
Dim instanceName As String = "MyInstanceName"
'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)
'Create a SubscriberDevice object.
Dim mySubscriberEnumeration As _
New SubscriberEnumeration(myInstance)
string instanceName = "MyInstanceName";
//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);
//Create a SubscriberEnumeration object.
SubscriberEnumeration mySubscriberEnumeration =
new SubscriberEnumeration(myInstance);
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
SubscriberEnumeration Class
SubscriberEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace