다음을 통해 공유


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