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)
Available in Sandboxed Solutions: No

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