SPAlertTemplate Class
Defines the template used for an alert.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.SPAlertTemplate
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<GuidAttribute("8D8B6E93-D1E7-449a-A522-C35CBCE1BA63")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPAlertTemplate _
Inherits SPPersistedObject
Dim instance As SPAlertTemplate
[GuidAttribute("8D8B6E93-D1E7-449a-A522-C35CBCE1BA63")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPAlertTemplate : SPPersistedObject
Examples
SPWeb site = SPControl.GetContextWeb(Context);
SPListCollection oWebLists = site.Lists;
Foreach (SPList list in owebLists)
{
Wrter.Write(list.AlertTemplate);
}
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.