Partager via


SPEventPropertiesBase.RedirectUrl - Propriété

Remarque : cette API est désormais obsolète.

Une URL de redirection lorsque l'état de SPEventReceiverStatus est CancelWithRedirectUrl.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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; }

Valeur de propriété

Type : System.String
Retourne un String de l'URL de redirection.

Voir aussi

Référence

SPEventPropertiesBase classe

SPEventPropertiesBase - Membres

Microsoft.SharePoint - Espace de noms