Compartilhar via


SPWebApplication.EventHandlersEnabled property

NOTE: This API is now obsolete.

Obtém ou define um valor indicando se deseja habilitar os manipuladores de eventos para o aplicativo da Web.

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

Syntax

'Declaração
<ObsoleteAttribute("Use V3 style events")> _
Public Property EventHandlersEnabled As Boolean
    Get
    Set
'Uso
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.EventHandlersEnabled

instance.EventHandlersEnabled = value
[ObsoleteAttribute("Use V3 style events")]
public bool EventHandlersEnabled { get; set; }

Property value

Type: System.Boolean
true para permitir que manipuladores de eventos; Caso contrário, false. O valor padrão é false.

Ver também

Referência

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace