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");