Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Does anyone know how to "reset to site definition" programmatically?

  Asked By: Erik Flores         Date: Feb 11, 2008      Category: Sharepoint      Views: 469
 

Does anyone know how to "reset to site definition" programmatically?

Tagged:                  

 

1 Answer Found

 
Answer #1       Answered By: Jarod Mathews          Answered On: Feb 11, 2008       

I found the answer.

SPweb.RevertAllDocumentContentStreams()

It will un-ghost all pages of that site.

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].