Export (0) Print
Expand All

SPAlertTemplate Class

Windows SharePoint Services 3

Defines the template used for an alert.

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

[GuidAttribute("8D8B6E93-D1E7-449a-A522-C35CBCE1BA63")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPAlertTemplate : SPPersistedObject

SPWeb site = SPControl.GetContextWeb(Context);
SPListCollection oWebLists = site.Lists;

Foreach (SPList list in owebLists)
{
Wrter.Write(list.AlertTemplate);
} 

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft