This documentation is archived and is not being maintained.

SPSite.LookupUriInRemoteFarm Method

Windows SharePoint Services 3

Returns the Uniform Resource Identifier (URI) of a Web site in the specified remote server farm.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static Uri LookupUriInRemoteFarm(
	SPFarm farm,
	Guid id,
	SPUrlZone zone
)

Parameters

farm
Type: Microsoft.SharePoint.Administration.SPFarm
An SPFarm object that represents the remote server farm.
id
Type: System.Guid
A GUID that identifies the Web site.
zone
Type: Microsoft.SharePoint.Administration.SPUrlZone
An SPUrlZone object that represents the URL zone of the URI to return.

Return Value

Type: System.Uri
A System.Uri object that represents the URI of the Web site.
Show: