Метод SPSite.LookupUriInRemoteFarm

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

Пространство имен:  Microsoft.SharePoint
Сборка:  Microsoft.SharePoint (в Microsoft.SharePoint.dll)

Синтаксис

'Декларация
Public Shared Function LookupUriInRemoteFarm ( _
    farm As SPFarm, _
    id As Guid, _
    zone As SPUrlZone _
) As Uri
'Применение
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
)

Параметры

  • id
    Тип: System.Guid

    A GUID that identifies the Web site.

Возвращаемое значение

Тип: System.Uri
A System.Uri object that represents the URI of the Web site.

См. также

Справочные материалы

SPSite класс

Элементы SPSite

Пространство имен Microsoft.SharePoint