SPWebApplication.Lookup Method
Finds the Web application that is located at the specified URL.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Parameters
- requestUri
- Type: System.Uri
A System.Uri object that specifies the URL of the Web application.