摘要: Need to Dispose:1. SPSite oSPsite = new SPSite(http://server)2. siteCollection = new SPSite(SPContext.Current.Web.Url))3. SPSite siteCollection = siteCollections.Add("sites/myNewSiteCollection", "DOMAIN\\User", roger.lamb@litwareinc.com)4. using (SPWeb web = new SPSite(SPContext. 阅读全文
posted @ 2011-11-02 16:52 gzh4455 阅读(334) 评论(0) 推荐(0) 编辑