其他分享
首页 > 其他分享> > 定义不同模板的网站集

定义不同模板的网站集

作者:互联网

The following table shows the values for the default site definitions that are included in an installation of Microsoft SharePoint Foundation.

 

Value

Site Definition

STS#0

Team Site

STS#1

Blank Site

STS#2

Document Workspace

MPS#0

Basic Meeting Workspace

MPS#1

Blank Meeting Workspace

MPS#2

Decision Meeting Workspace

MPS#3

Social Meeting Workspace

MPS#4

Multipage Meeting Workspace

BLOG#0

Blog

SGS#0

Basic Group Work Site

SGS#1

Blank Group Work Site

WIKI#0

Wiki

 

源文档 <http://msdn.microsoft.com/en-us/library/ms472488.aspx>

 

SPWebApplication webApp = new SPSite("http://MySiteCollection").WebApplication;
SPSiteCollection siteCollections = webApp.Sites;

SPSite newSiteCollection = siteCollections.Add("sites/Site_Name",
    "Site_Title", "Site_Description", 1033, "STS#0",
    "DOMAIN\\User", "Owner_User_Name", "Owner_Email");

转载于:https://www.cnblogs.com/stevegp/p/3590937.html

标签:定义,网站,Blank,Site,MPS,Workspace,STS,Meeting,模板
来源: https://blog.csdn.net/weixin_34128501/article/details/94164124