Поделиться через


Метод Site.OpenWebById

Returns the site with the specified GUID.

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

Синтаксис

'Декларация
Public Function OpenWebById ( _
    gWebId As Guid _
) As Web
'Применение
Dim instance As Site
Dim gWebId As Guid
Dim returnValue As Web

returnValue = instance.OpenWebById(gWebId)
public Web OpenWebById(
    Guid gWebId
)

Параметры

  • gWebId
    Тип: System.Guid

    A GUID that specifies which site to return.

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

Тип: Microsoft.SharePoint.Client.Web
Returns a Web.instance representing the site with the specified GUID.

См. также

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

Site класс

Элементы Site

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