Udostępnij za pośrednictwem


Właściwość WmiEventQuery

Pobiera lub ustawia Instrumentacja zarządzania Windows (Instrumentacja zarządzania Windows) kwerendy zdarzenie.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Agent
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WmiEventQuery As String
    Get
    Set
'Użycie
Dim instance As Alert
Dim value As String

value = instance.WmiEventQuery

instance.WmiEventQuery = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string WmiEventQuery { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ WmiEventQuery {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member WmiEventQuery : string with get, set
function get WmiEventQuery () : String
function set WmiEventQuery (value : String)

Wartość właściwości

Typ: System. . :: . .String
A String wartość określająca kwerendy WMI dla zdarzenie.