SPSiteAdministration.RootWebTemplate property
Gets the value that represents the name of the template applied to the top-level site in the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property RootWebTemplate As String
Get
'Usage
Dim instance As SPSiteAdministration
Dim value As String
value = instance.RootWebTemplate
public string RootWebTemplate { get; }
Property value
Type: System.String
A string that contains the name of the template applied to the top-level site in the collection.