共用方式為


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

Type: SP.WebCreationInformation

Return Value

Type: SP.Web

Applies To

SP.WebCollection Class

See Also

Reference

SP.WebCollection Methods

SP.WebCollection Properties

SP Namespace