Compartilhar via


SPList.AlertTemplate Property

Gets or sets the alert template that is used by the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property AlertTemplate As SPAlertTemplate
    Get
    Set
'Usage
Dim instance As SPList
Dim value As SPAlertTemplate

value = instance.AlertTemplate

instance.AlertTemplate = value
public SPAlertTemplate AlertTemplate { get; set; }

Property Value

Type: Microsoft.SharePoint.SPAlertTemplate
An SPAlertTemplate object that represents the alert template.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace