다음을 통해 공유


SP.Web.applyWebTemplate(strWebTemplate) Method

Applies to: SharePoint Foundation 2010

Applies the specified site definition or site template to the website that has no template applied to it.

SP.Web.applyWebTemplate(strWebTemplate);

Parameters

strWebTemplate

Type: string

The name of the site definition or the file name of the site template.

Remarks

This method applies the specified site definition or site template to the website.

Applies To

SP.Web Class

See Also

Reference

SP.Web Methods

SP.Web Properties

SP Namespace