SPAlert.ListUrl property

Gets the site-relative URL of the list to which the alert applies.

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

Syntax

'Declaration
Public ReadOnly Property ListUrl As String
    Get
'Usage
Dim instance As SPAlert
Dim value As String

value = instance.ListUrl
public string ListUrl { get; }

Property value

Type: System.String
A string that contains the URL.

Remarks

The ListUrl property throws an SPException if the AlertType property does not contain List or Item.

See also

Reference

SPAlert class

SPAlert members

Microsoft.SharePoint namespace