Share via


IWmiEventWatcherTask.NumberOfEvents Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the number of WMI events for which the task should watch.

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

Syntax

'Declaration
Property NumberOfEvents As Integer 
    Get 
    Set
'Usage
Dim instance As IWmiEventWatcherTask 
Dim value As Integer 

value = instance.NumberOfEvents

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

Property Value

Type: System.Int32
The number of WMI events for which the task should watch.

See Also

Reference

IWmiEventWatcherTask Interface

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace