Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates and initializes a new instance of the NSApplication class.
Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Syntax
'Declaration
Public Sub New ( _
nsInstance As NSInstance, _
applicationName As String _
)
public NSApplication (
NSInstance nsInstance,
string applicationName
)
public:
NSApplication (
NSInstance^ nsInstance,
String^ applicationName
)
public NSApplication (
NSInstance nsInstance,
String applicationName
)
public function NSApplication (
nsInstance : NSInstance,
applicationName : String
)
Parameter
- nsInstance
An NSInstance object that represents the instance of Notification Services that hosts the application.
- applicationName
A string containing the name of the application.
Beispiel
The following examples show how to create and initialize an NSApplication in managed code:
Dim instanceName As String = "MyInstanceName"
Dim applicationName As String = "MyApplicationName"
'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)
'Create an NSApplication object.
Dim myApplication As New NSApplication(myInstance, applicationName)
string instanceName = "MyInstanceName";
string applicationName = "MyApplicationName";
//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);
//Create an NSApplication object.
NSApplication myApplication =
new NSApplication(myInstance, applicationName);
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
NSApplication Class
NSApplication Members
Microsoft.SqlServer.NotificationServices Namespace