Freigeben über


SubscriberEnumeration Constructor (NSInstance)

Creates and initializes an instance of the SubscriberEnumeration class.

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

Syntax

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

Parameter

  • nsInstance
    An NSInstance object representing the Notification Services instance that contains the collection of subscribers.

Beispiel

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

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

SubscriberEnumeration Class
SubscriberEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace