GetAlertCreationLink(System.Web.UI.Page, String, String, String, String, String, String, String) Method

The GetAlertCreationLink method of the AlertType class creates an "Alert Me" link by using the specified parameters. The current HTTP context is used to identify the portal site.

Parameters

page   Current HTTP context. This page is used to create Microsoft JScript blocks and form fields.

alertTypeId   Alert type.

objectDefinition   Identifier or description of the object that this alert describes.

objectUrl   URL for the object that this alert describes.

objectDisplayName   Display name for the object that this alert describes.

suggestedTitle   Title for the new alert.

xmlParameters   Additional parameters.

urlToReturnTo   URL to which user is redirected when this operation is complete.

Return Value

String that contains URL to the new alert page.

Remarks

The GetAlertCreationLink method is a static, protected method and cannot be overwritten in your derived class. The resulting URL is JScript URL that generates a post request to the new alert page. Use this method when the resulting alert page URL that is generated by this method is over 2 KB. Long URLs may not display correctly in some client browsers.

Platforms: Microsoft Windows Server 2003