获取表示该 Web 站点的地址,它移动之后的服务器-相对 URL。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property NewServerRelativeUrl As String
Get
用法
Dim instance As SPWebEventProperties
Dim value As String
value = instance.NewServerRelativeUrl
public string NewServerRelativeUrl { get; }
属性值
类型:System.String
一个字符串,包含服务器-相对 URL 的 Web 站点。
备注
NewServerRelativeUrl属性应用于某个 Web 站点删除事件会引发InvalidOperationException 。