Add Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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