Share via


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)

Syntax

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

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

Parameters

Return value

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

See also

Reference

SPAlternateUrl class

SPAlternateUrl members

Microsoft.SharePoint.Administration namespace