Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2010 product release

Other versions are also available for the following:
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
Visual Basic (Declaration)
Public Shared Function Lookup ( _
    uri As Uri _
) As SPAlternateUrl
Visual Basic (Usage)
Dim uri As Uri
Dim returnValue As SPAlternateUrl

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

Parameters

uri
Type: System..::.Uri
A 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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker