0
的SharePoint 2013爲什麼'Update`方法啓動後`Title`屬性沒有更新?
我的代碼一堆:
SPWebService webService = SPFarm.Local.Services[webServiceGuid]
as SPWebService;
SPWebApplication webApp = webService.WebApplications[webApplicationGuid];
// path is "http://sharepoint2013/sites/sandbox2" string
SPSite siteCollection = webApp.Sites.Add(path, "root",
"[email protected]");
siteCollection.RootWeb.Title = "My some sites collection";
siteCollection.RootWeb.Update();
我的網站集創建成功,但是當我打開http://sharepoint2013/sites/sandbox2頁面,然後我看不出Title
的更新值。爲什麼會發生?