SPAlternateUrl.Lookup method

Returns the SPAlternateUrl object in the farm whose incoming URL matches the specified URI parameter.

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


Public Shared Function Lookup ( _
    uri As Uri _
) As SPAlternateUrl
Dim uri As Uri
Dim returnValue As SPAlternateUrl

returnValue = SPAlternateUrl.Lookup(uri)
public static SPAlternateUrl Lookup(
    Uri uri


Return value

Type: Microsoft.SharePoint.Administration.SPAlternateUrl
An SPAlternateUrl object representing the alternate URL.

See also


SPAlternateUrl class

SPAlternateUrl members

Microsoft.SharePoint.Administration namespace