共用方式為


SPEventPropertiesBase.RedirectUrl property

NOTE: This API is now obsolete.

CancelWithRedirectUrlSPEventReceiverStatus狀態時,重新導向至 URL。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<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; }

Property value

Type: System.String
傳回的重新導向至 URL 的String

請參閱

參照

SPEventPropertiesBase class

SPEventPropertiesBase members

Microsoft.SharePoint namespace