SPWebApplication Class in SharePoint


In this article I am giving you an introduction on SPWebApplication class. Most of the developers are naive about this class definitely this will give an introduction on the class

The SPWebApplication objects represents a SharePoint Web Application, which essentially is an IIS virtual server. Using this class we can do some high level operations. Please find some of the actions you can perform.

  • Create a web application
  • Collect all the features in a particular web application
  • Delete a web application
  • Some administrative task for the web application.

Below is a small example to delete a web application

1.gif

Up Next
    Ebook Download
    View all
    Learn
    View all