SPWeb.AllowAllWebTemplates 方法
Resets the available web templates on the website to the complete set of web templates.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub AllowAllWebTemplates
用法
Dim instance As SPWeb
instance.AllowAllWebTemplates()
public void AllowAllWebTemplates()
备注
The complete set of web templates is restricted by the language of the website. After calling this method, call the GetAvailableWebTemplates() method to get the complete set of web templates.