다음을 통해 공유


WmiEventWatcherTask.NumberOfEvents 속성

Gets or sets the number of Windows Management Instrumentation (WMI) events for which the WmiEventWatcherTask should watch.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
어셈블리:  Microsoft.SqlServer.WMIEWTask(Microsoft.SqlServer.WMIEWTask.dll)

구문

‘선언
Public Property NumberOfEvents As Integer 
    Get 
    Set
‘사용 방법
Dim instance As WmiEventWatcherTask 
Dim value As Integer 

value = instance.NumberOfEvents

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

속성 값

유형: System.Int32
An Integer containing the number of WMI events for which the task should watch. The default value is 1.

구현

IWmiEventWatcherTask.NumberOfEvents

참고 항목

참조

WmiEventWatcherTask 클래스

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask 네임스페이스