Compartilhar via


SPSiteSequence.IsRootWebTemplate Method

A protected method that determines if the root Web is using a Web template as specified by the templateId parameter.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Function IsRootWebTemplate ( _
    templateId As Integer _
) As Boolean
'Usage
Dim templateId As Integer
Dim returnValue As Boolean

returnValue = Me.IsRootWebTemplate(templateId)
protected bool IsRootWebTemplate(
    int templateId
)

Parameters

  • templateId
    Type: System.Int32

    The identifier of the root Web site of the site collection.

Return Value

Type: System.Boolean
true if the ID of the Web template used by the root Web equals the templateId parameter; otherwise, false.

See Also

Reference

SPSiteSequence Class

SPSiteSequence Members

Microsoft.SharePoint.Upgrade Namespace