Condividi tramite


Proprietà IWmiEventWatcherTask.NumberOfEvents

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly:  Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)

Sintassi

'Dichiarazione
Property NumberOfEvents As Integer 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Vedere anche

Riferimento

IWmiEventWatcherTask Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask