GetAlertCreationLink(Microsoft.SharePoint.Portal.PortalContext, System.Guid, String, String) Method

The GetAlertCreationLink method of the AreaAlertType class creates an "Alert Me" link for an area using the specified parameters. A reference to a PortalContext object is used to identify the current portal site.

Parameters

context  PortalContext object that represents a portal site.

categoryId   Globally unique identifier (GUID) for this area.

categoryUrl   URL for the area that this alert describes.

categoryName   Display name for the area this alert describes.

Return Value

String that contains URL to the new alert page.

Remarks

The GetAlertCreationLink method is a static public method and cannot be overritten in your derived class. Use this method when the resulting alert page URL generated by this method is less than 2KB. Use the overloaded GetAlertCreationLink method for URLs longer than 2KB.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security