Share via


SPWebCollection.Add Method

Include Protected Members
Include Inherited Members

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