共用方式為


WmiEventWatcherTask.ActionAtEvent 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
組件:  Microsoft.SqlServer.WMIEWTask (在 Microsoft.SqlServer.WMIEWTask.dll 中)

語法

'宣告
Public Property ActionAtEvent As ActionAtEvent 
    Get 
    Set
'用途
Dim instance As WmiEventWatcherTask 
Dim value As ActionAtEvent 

value = instance.ActionAtEvent

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

屬性值

型別:Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.ActionAtEvent
A ActionAtEvent value. The default value is LogTheEventAndFireDTSEvent.

實作

IWmiEventWatcherTask.ActionAtEvent

請參閱

參考

WmiEventWatcherTask 類別

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask 命名空間