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
)
Parameters
- nsInstance
An NSInstance object representing the Notification Services instance that contains the collection of subscribers.
Example
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);
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
SubscriberEnumeration Class
SubscriberEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace