共用方式為


SPWebApplication.AlertsMaximum Property

Gets or sets the maximum number of lists and list items for which a single user can create alerts.

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

Syntax

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

value = instance.AlertsMaximum

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

Property Value

Type: System.Int32
A 32-bit integer that contains the maximum number of alerts.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace