Compartilhar via


SPEventPropertiesBase.RedirectUrl property

NOTE: This API is now obsolete.

Um URL à qual redirecionar quando o status de SPEventReceiverStatus é CancelWithRedirectUrl.

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

Syntax

'Declaração
<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
'Uso
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
Retorna um String do URL para redirecionar para.

Ver também

Referência

SPEventPropertiesBase class

SPEventPropertiesBase members

Microsoft.SharePoint namespace