Поделиться через


Свойство 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