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 命名空间