Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebTemplateId Property

SharePoint 2003

The WebTemplateId property of the SPWeb class gets the ID of the site definition that was used to create the site or the ID of the site definition from which derives the site template that was used to create the site.

Property Value

A 32-bit integer that specifies the ID. This value corresponds to the ID attribute of the Template element in Collaborative Application Markup Language (CAML).

Remarks

When you create a site template by saving a site as a template and then create a site from the template, the WebTemplateId property contains the ID of the site definition from which the site template derives.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.