• 定义不同模板的网站集


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

    如果,您认为阅读这篇博客对你有帮助,点击一下左下角的[推荐] 如果,你想了解我的动态,点击一下左下角的[关注我] 因为,你们的支持正是我学习的动力 如需转载,请注明出处 如果对文章有任何问题,都可以再评论中留言,我会尽可能的答复您,谢谢你的阅读
  • 相关阅读:
    NOI 2020 游记
    BJOI2020 游记
    行列式
    CSP-S 2019 游记
    类欧几里得算法
    有关二次离线和 Yuno loves sqrt technology II
    NOI2019 游记
    CTS 2019 Pearl
    BJOI2019 游记
    2017 山东二轮集训 Day7 国王
  • 原文地址:https://www.cnblogs.com/stevegp/p/3590937.html
Copyright © 2020-2023  润新知