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.GuidA GUID that specifies which site to return.
返回值
类型:Microsoft.SharePoint.Client.Web
Returns a Web.instance representing the site with the specified GUID.