Export (0) Print
Expand All

SPSite.LookupUriInRemoteFarm method

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:
© 2014 Microsoft