SP.WebCollection.add(parameters) Method
Applies to: SharePoint Foundation 2010
Adds a new Web site to the collection.
var value = SP.WebCollection.add(parameters);
Parameters
parameters
A SP.WebCreationInformation Class object that contains information associated with the Web site.It must not be null.
Type: SP.WebCreationInformation
Return Value
Type: SP.Web