SP.WebTemplate.isRootWebOnly Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies whether the site definition configuration or site template can only be applied to the top-level site in the site collection.
var value = SP.WebTemplate.get_isRootWebOnly();
Property Value
Type: Boolean