I deployed page via module. Module is deployed via feature (method FeatureActivated). After that process page is deployed in content database.

What I need is to be able to delete (remove) page from database after feature deactivation (method FeatureDeactivating) For now, I can't see any page collection properties in my web to be able to get and delete my page from it. I assume that this is maybe possible to do via PowerShell or CA, but I need to do that from VS.

Please, any suggestion!

1 Answer 1


I think you should check this:

Removing Provisioned Files from SharePoint During Feature Deactivation

  • Dobro misliš Vedrane :) This is solution for problem. Thank you!
    – trip
    Sep 9, 2011 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.