Partager via


WmiEventWatcherTask.NumberOfEvents Property

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

Espace de noms: Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly: Microsoft.SqlServer.WMIEWTask (in microsoft.sqlserver.wmiewtask.dll)

Syntaxe

'Déclaration
Public Property NumberOfEvents As Integer
public int NumberOfEvents { get; set; }
public:
virtual property int NumberOfEvents {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_NumberOfEvents ()

/** @property */
public final void set_NumberOfEvents (int value)
public final function get NumberOfEvents () : int

public final function set NumberOfEvents (value : int)

Valeur de propriété

An Integer containing the number of WMI events for which the task should watch. The default value is 1.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

WmiEventWatcherTask Class
WmiEventWatcherTask Members
Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace