Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPWebApplication.Lookup method

Finds the Web application that is located at the specified URL.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public Shared Function Lookup ( _
	requestUri As Uri _
) As SPWebApplication
'Usage
Dim requestUri As Uri
Dim returnValue As SPWebApplication

returnValue = SPWebApplication.Lookup(requestUri)

Parameters

requestUri
Type: System.Uri

A System.Uri object that specifies the URL of the Web application.

Show:
© 2015 Microsoft