SPAlternateUrlCollectionManager.LookupAlternateUrl Method
Returns the SPAlternateUrl object that contains the specified URL.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function LookupAlternateUrl ( _
canonicalRequestUri As Uri _
) As SPAlternateUrl
'Usage
Dim instance As SPAlternateUrlCollectionManager
Dim canonicalRequestUri As Uri
Dim returnValue As SPAlternateUrl
returnValue = instance.LookupAlternateUrl(canonicalRequestUri)
public SPAlternateUrl LookupAlternateUrl(
Uri canonicalRequestUri
)
Parameters
canonicalRequestUri
Type: System.UriA System.Uri object that specifies the URL of the SPAlternateUrl object.
Return Value
Type: Microsoft.SharePoint.Administration.SPAlternateUrl
A Microsoft.SharePoint.Administration.SPAlternateUrl object.
See Also
Reference
SPAlternateUrlCollectionManager Class