Freigeben über


SPEventPropertiesBase.RedirectUrl-Eigenschaft

HINWEIS: Diese API ist veraltet.

Eine URL zur Umleitung an, wenn der Status der SPEventReceiverStatusCancelWithRedirectUrlist.

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

Syntax

'Declaration
<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
'Usage
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; }

Eigenschaftswert

Typ: System.String
Gibt eine String der URL zur Umleitung an.

Siehe auch

Referenz

SPEventPropertiesBase Klasse

SPEventPropertiesBase-Member

Microsoft.SharePoint-Namespace