Export (0) Print
Expand All
Expand Minimize

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

Show:
© 2014 Microsoft