Update Method

The Update method of the SPWeb class updates the database with changes made to the Web site.

Example

The following code example uses the Update method to change the title of a specified site in the current site collection.

This example requires using directives (Imports in Visual Basic) for both the Microsoft.SharePoint and Microsoft.SharePoint.WebControls namespaces.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security