共用方式為


SPWebApplication.AlertsEnabled property

取得或設定一個值,指定是否允許提醒中的 Web 應用程式。

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

Syntax

'宣告
Public Property AlertsEnabled As Boolean
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AlertsEnabled

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

Property value

Type: System.Boolean
true是否已啟用提醒,;否則,請false。預設值為true。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace