删除网站功能

时间:2011-08-04 06:41:48

标签: sharepoint sharepoint-2007 wss-3.0

我使用c#程序删除了所有网站功能。

SPFarm.Local.Solution.Remove(Solution name);

不幸的是,这些功能仍出现在我的网站上>网站设置>网站功能

有人有办法删除我网站上的功能吗?

如果我查看\ Microsoft Shared \ web服务器扩展\ 12 \ Template \ Features所有功能都会出现, 但他们没有出现在中央管理局>操作>解决方案管理。

我正在使用WSS 3.0

感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

删除场功能:SPFarm.Local.FeatureDefinitions.Remove(Guid);

删除网站功能:SPContext.Current.Site.FeatureDefinitions.Remove(Guid);

相关问题