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.
Adds an Application to the collection.
Namespace: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub Add ( _
application As Application _
)
public void Add (
Application application
)
public:
void Add (
Application^ application
)
public void Add (
Application application
)
public function Add (
application : Application
)
Parameter
- application
An Application object representing a Notification Services application.
Hinweise
Within a Notification Services instance, all application names must be unique.
If you add an application after creating the instance, you must Update the instance to apply the changes.
Beispiel
The following examples show how to call a method that defines an application and then add the application to an instance of Notification Services:
Application app = ConfigureApplication(myInstance);
myInstance.Applications.Add(app);
Dim app As Application = ConfigureApplication(myInstance)
myInstance.Applications.Add(app)
Threadsicherheit
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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
ApplicationCollection Class
ApplicationCollection Members
Microsoft.SqlServer.Management.Nmo Namespace