AlertTypeCollection Class

The AlertTypeCollection class implements the collection of alert types.

System.Object

Microsoft.SharePoint.Portal.Alerts.ExtensionCollection

  **Microsoft.SharePoint.Portal.Alerts.AlertTypeCollection**

Public Methods

The following table shows the methods of the AlertTypeCollection class and a brief description of each.

Name Description
GetTypeByContentClass(String) Gets the alert type implementation for an item in a search result set.
GetTypeByRow(System.Data.DataRow) Gets the alert type implementation for the specified DataRow from an alert or search result set.
RegisterAlertType(Microsoft.SharePoint.Portal.PortalContext, Microsoft.SharePoint.Portal.Alerts.AlertType, String) Registers the specified alert type on the specified portal site.
UnregisterAlertType(Microsoft.SharePoint.Portal.PortalContext, Microsoft.SharePoint.Portal.Alerts.AlertType) Unregisters the specified alert type from the specified portal site.

Public Properties

The following table shows the properties of the AlertTypeCollection class, the data type of each property, and a brief description of each.

Name Data type Description
Default Microsoft.SharePoint.Portal.Alerts.AlertType Gets the default alert type.
Item(String) Microsoft.SharePoint.Portal.Alerts.AlertType Gets the item indexed by the specified string.

Thread Safety

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

Requirements

Namespace: Microsoft.SharePoint.Portal.Alerts

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security