SPWeb.PortalUrl 属性

Gets the URL to a portal site that is associated with the site.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property PortalUrl As String
    Get
用法
Dim instance As SPWeb
Dim value As String

value = instance.PortalUrl
public string PortalUrl { get; }

属性值

类型:System.String
A string that contains a URL that ends with a forward slash ("/"), as in "http://Portal_Name/".

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间