Title Property
The Title property of the SPWeb class gets or sets the title for the Web site.
Property Value
A string that contains the title.
Remarks
Setting the value of the Title property requires using the Update method for changes to take effect in the database.
Example
The following code example uses the Title property 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