Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How can you reset a site to site definition

  Asked By: Salina    Date: May 07    Category: Sharepoint    Views: 2895

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?

Share: 

 

1 Answer Found

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

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.




Tagged: