Returns the Web site with the specified GUID.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function OpenWeb ( _
gWebId As Guid _
) As SPWeb
用法
Dim instance As SPSite
Dim gWebId As Guid
Dim returnValue As SPWeb
returnValue = instance.OpenWeb(gWebId)
public SPWeb OpenWeb(
Guid gWebId
)
参数
gWebId
类型:System.GuidA GUID that specifies which Web site to return.
返回值
类型:Microsoft.SharePoint.SPWeb
An SPWeb object that represents the Web site.