共用方式為


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)
Available in Sandboxed Solutions: No

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