SPWebCollection.Add method

Creates an SPWeb object in the collection.

Overload list

  Name Description
Public method Add(String) Creates an SPWeb object with the specified website-relative URL.
Public method Add(String, String, String, UInt32, SPWebTemplate, Boolean, Boolean) Creates an SPWeb object with the specified site-relative URL, title, description, locale ID, and site definition or site template object.
Public method Add(String, String, String, UInt32, String, Boolean, Boolean) Creates a website with the specified site-relative URL, title, description, locale ID, and site definition or site template name.

Top

See also

Reference

SPWebCollection class

SPWebCollection members

Microsoft.SharePoint namespace