Implementing property bag to change Project description of site collection with below code ,But finding no luck.
Can any one help me in knowing what went wrong in my below code
SPSite mysite = properties.Feature.Parent as SPSite;<br>
SPWeb myweb = mysite.RootWeb;<br>
var mybag = myweb.AllProperties;<br>
mybag["Description"] = "SharePoint Training";<br>
myweb.Update();