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
uri
Type: System.UriA System.Uri object that represents the incoming URL of the SPAlternateUrl object to return.
Return value
Type: Microsoft.SharePoint.Administration.SPAlternateUrl
An SPAlternateUrl object representing the alternate URL.