Share via


SPWebApplication.AlertsMaximumQuerySet property

Gets or sets the maximum number of records in a query set that is associated with this alert object.

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

Syntax

'Declaration
Public Property AlertsMaximumQuerySet As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.AlertsMaximumQuerySet

instance.AlertsMaximumQuerySet = value
public int AlertsMaximumQuerySet { get; set; }

Property value

Type: System.Int32
Returns a Int that contains the maximum for this alert.

Exceptions

Exception Condition
SystemException

The current user does not have Farm administrator privileges.

Remarks

The alerts are stored in a database object or content database.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace

SPAlert

SPIisSettings

Other resources

Alert Class