SPWebApplication.AlertsEnabled - Propriété
Obtient ou définit une valeur qui spécifie si les alertes sont autorisées dans l'application Web.
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Property AlertsEnabled As Boolean
Get
Set
'Utilisation
Dim instance As SPWebApplication
Dim value As Boolean
value = instance.AlertsEnabled
instance.AlertsEnabled = value
public bool AlertsEnabled { get; set; }
Valeur de propriété
Type : System.Boolean
true si les alertes sont activées ; dans le cas contraire, false. La valeur par défaut est true.