Share via


SPWebCollection.Add Method

Include Protected Members
Include Inherited Members

Creates a Web site object in the collection.

Overload List

  Name Description
Add(String) Creates a Web site object with the specified Web site-relative URL.
Add(String, String, String, UInt32, SPWebTemplate, Boolean, Boolean) Creates a Web site object with the specified site-relative URL, title, description, locale ID, and site definition or site template object.
Add(String, String, String, UInt32, String, Boolean, Boolean) Creates a Web site object 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