Export (0) Print
Expand All

Instance.Update Method

SQL Server 2005

Updates the instance of Notifications, and all of its applications, with changes made to Instance and Application properties.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public:
void Update ()
public void Update ()
public function Update ()

The Update method compares the current instance and application definitions in the databases with your definitions of the instance and its applications. For each valid change, the Update method updates the database as specified.

Not all of the instance and application properties can be updated. For example you cannot change the instance and application database definitions. For more information, review the documentation for the properties you are updating.

Altering some EventClass, SubscriptionClass, and NotificationClass properties can delete or rename existing tables in the application database. Review the properties you are changing to make sure you know the effects of the changes.


The following examples show how to update an instance of Notification Services:

No code example is currently available or this language may not be supported.

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.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft