del método SPSite.LookupUriInRemoteFarm
Returns the Uniform Resource Identifier (URI) of a Web site in the specified remote server farm.
Espacio de nombres: Microsoft.SharePoint
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Public Shared Function LookupUriInRemoteFarm ( _
farm As SPFarm, _
id As Guid, _
zone As SPUrlZone _
) As Uri
'Uso
Dim farm As SPFarm
Dim id As Guid
Dim zone As SPUrlZone
Dim returnValue As Uri
returnValue = SPSite.LookupUriInRemoteFarm(farm, _
id, zone)
public static Uri LookupUriInRemoteFarm(
SPFarm farm,
Guid id,
SPUrlZone zone
)
Parámetros
farm
Tipo: Microsoft.SharePoint.Administration.SPFarmAn SPFarm object that represents the remote server farm.
id
Tipo: System.GuidA GUID that identifies the Web site.
zone
Tipo: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone object that represents the URL zone of the URI to return.
Valor devuelto
Tipo: System.Uri
A System.Uri object that represents the URI of the Web site.