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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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