DocumentAlertTemplate Class

The DocumentAlertTemplate class represents the template for creating new alerts for documents in Microsoft SharePoint Portal Server.

System.Object

Microsoft.SharePoint.Portal.Alerts.StandardAlertTemplate

  **Microsoft.SharePoint.Portal.Alerts.DocumentAlertTemplate**

Public Constructors

The following table shows the constructors of the DocumentAlertTemplate class and a brief description of each.

Name Description
DocumentAlertTemplate(Microsoft.SharePoint.Portal.Alerts.Alert) Initializes a new instance of the DocumentAlertTemplate class with the specified reference to an Alert object that represents an existing alert.
DocumentAlertTemplate(String, String) Initializes a new instance of the DocumentAlertTemplate class with the specified document URL and display name.

Protected Methods

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

Name Description
CreateQuery Reserved for internal use only.
GetAlertType Reserved for internal use only.

Public Properties

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

Name Data Type Description
ConditionText String Gets a user-friendly description of the query that describes alerts created with this template.

Protected Properties

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

Name Data Type Description
LcidModifyItemCondition String Reserved for internal use only.

Thread Safety

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

Remarks

Use this object to create new alerts for documents in SharePoint Portal Server.

Requirements

Namespace: Microsoft.SharePoint.Portal.Alerts

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security