Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

How can you reset a site to site definition

  Asked By: Salina Sharpe         Date: May 07, 2010      Category: Sharepoint      Views: 640
 

I have juste migrated from wss2 to wss3. There is a function to reset a page to site definition as part of the Sharepoint Designer. However that kind of long. There is also a way to do it by going to the site setting of a particular site. And since there is that functionality I am wondering if the Object Model allow you to reset a site programatically to site definition. Any idea?

Tagged:              

 

1 Answer Found

 
Answer #1       Answered By: Tanisha Rowe          Answered On: May 07, 2010       

Check out SPWeb.RevertAllDocumentContentStreams()

msdn.microsoft.com/.../...umentcontentstreams.aspx

Or just check out this thread!

social.msdn.microsoft.com/.../

 
Didn't find what you were looking for? Find more on How can you reset a site to site definition Or get search suggestion and latest updates.


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