Activating and Deactivating Feature programmatically in SharePoint

added by kalyanms1
5/29/2013 9:27:52 PM

0 Kicks, 54 Views

Sometimes, You may need to activate/deactivate Feature programmatically in SharePoint. Feature should have the scope of the web, site or web application or Farm.You can get the Feature by accessing Feature properties of Site or web. Write the following code to retrieve the activated features available in Web application/Site/Web level.


0 comments