Share via


WmiEventWatcherTask.AfterEvent Property

Determines how the WmiEventWatcherTask responds when the task receives the specified Windows Management Instrumentation (WMI) event.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly:  Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)

Syntax

'Declaration
Public Property AfterEvent As AfterEvent 
    Get 
    Set
'Usage
Dim instance As WmiEventWatcherTask 
Dim value As AfterEvent 

value = instance.AfterEvent

instance.AfterEvent = value
public AfterEvent AfterEvent { get; set; }
public:
virtual property AfterEvent AfterEvent {
    AfterEvent get () sealed;
    void set (AfterEvent value) sealed;
}
abstract AfterEvent : AfterEvent with get, set 
override AfterEvent : AfterEvent with get, set
final function get AfterEvent () : AfterEvent 
final function set AfterEvent (value : AfterEvent)

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.AfterEvent
A AfterEvent value. The default value is ReturnWithSuccess.

Implements

IWmiEventWatcherTask.AfterEvent

See Also

Reference

WmiEventWatcherTask Class

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace