共用方式為


SPWebApplication.AlertsLimited Property

Gets or sets a value specifying whether there is a limit to the number of lists and list items for which a user can create alerts.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property AlertsLimited As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AlertsLimited

instance.AlertsLimited = value
public bool AlertsLimited { get; set; }

Property Value

Type: System.Boolean
If true, the number of alerts contained in the AlertsMaximum property is used as a limit; otherwise, false. The default value is true.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace