请注意:此 API 现在已过时。
CancelWithRedirectUrlSPEventReceiverStatus的状态时重定向到 URL。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Default list forms are committed through asynchronous XmlHttpRequests, so redirect urls specified in this way aren't followed by default. In order to force a list form to follow a cancelation redirect url, set the list form web part's CSRRenderMode property to CSRRenderMode.ServerRender")> _
Public Property RedirectUrl As String
Get
Set
用法
Dim instance As SPEventPropertiesBase
Dim value As String
value = instance.RedirectUrl
instance.RedirectUrl = value
[ObsoleteAttribute("Default list forms are committed through asynchronous XmlHttpRequests, so redirect urls specified in this way aren't followed by default. In order to force a list form to follow a cancelation redirect url, set the list form web part's CSRRenderMode property to CSRRenderMode.ServerRender")]
public string RedirectUrl { get; set; }
属性值
类型:System.String
返回 URL 重定向到String 。