共用方式為


SPWebTemplate.WebTemplate Enumeration

Specifies the type of a site definition.

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

Syntax

Public Enumeration WebTemplate

Dim instance As SPWebTemplate.WebTemplate
public enum WebTemplate

Members

Member name Description
Invalid Not used. Value = -1.
TeamCollaborationSite Standard team collaboration site. Value = 1.
Meetings Meetings Workspace site. Value = 2.
CentralAdmin Administrative site. Value = 3.
Wiki Wiki site. Value = 4.
Blog Blog site. Value = 9.

Remarks

Use the WebTemplateId property to return the site definition ID of an existing site.

See Also

Reference

Microsoft.SharePoint Namespace