Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

SPPersistedUpgradableObject is a SPPersistedObject that implements the IUpgradable interface. The MSDN is seriously lacks any documentation other than it:

Provides members for managing an upgradable object

It seems to be related to caching and reloading the object from the database but i can't find confirmation of this anywhere.

So really my question do:

SPWebapplication wa = SPContext.Current.Web.Site.WebApplication;
wa.Invalidate() //causes object to be reloaded from database on next access?

and

wa.Upgrade(); //causes object to be reloaded from the database?

actually do what i think they are doing?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.