我正在寻找一种方法,以编程方式将页面重置为该页面的网站/功能定义,而不使用SharePoint Designer。一定有某种API可以做到这一点,但我的谷歌搜索是空的。。。
Apparently SPFile.RevertContentStream() is the answer I'm looking for .