Freigeben über


ApplicationEnumeration Constructor (NSInstance)

Creates and initializes an instance of the ApplicationEnumeration class.

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

Syntax

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

Parameter

  • nsInstance
    An NSInstance that represents an instance of Notification Services.

Beispiel

The following examples show how to create and initialize an ApplicationEnumeration object in managed code.

These examples use the Microsoft.SqlServer.NotificationServices namespace.

Dim instanceName As String = "MyInstanceName"

'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)

'Create an ApplicationEnumeration object.
Dim myApplicationEnumeration As _
    New ApplicationEnumeration(myInstance)
string instanceName = "MyInstanceName";

//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);

//Create an ApplicationEnumeration object.
ApplicationEnumeration myApplicationEnumeration = 
    new ApplicationEnumeration(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

ApplicationEnumeration Class
ApplicationEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace