The WebTemplate enumeration specifies the type of a site definition.
Members
The following table shows the members of the SPWebTemplate enumeration and a brief description of each.
| Name | Value | Description |
|---|---|---|
| Invalid | -1 | Not used |
| Meetings | 2 | Meetings Workspace site. |
| TeamSite | 1 | SharePoint site. |
Remarks
Use the WebTemplateId property to return the site definition ID of an existing site.
Requirements
Namespace: Microsoft.SharePoint
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)
Security: Code Access Security