Add Method
The document is archived and information here might be outdated

SPWebCollection.Add Method

Windows SharePoint Services 3

Creates a Web site object in the collection.

  NameDescription
Public method Add(String) Creates a Web site object with the specified Web site-relative URL.
Public method 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.
Public method 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
Show:
© 2016 Microsoft