Share via


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)
Available in Sandboxed Solutions: No

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.

See Also

Reference

SPSiteAdministration Class

SPSiteAdministration Members

Microsoft.SharePoint.Administration Namespace