How to activate or deactivate feature using sharepoint object model
To activate feature through Sharepoint object model use the following code
Activate a feature:
spSite.Features.Add(“featureId”)
Deactivate a feature:
spSite.Features.Remove(“featureId”)
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments
No comments yet.
Leave a comment