Alert.WmiEventQuery Property

 

Gets or sets the Windows Management Instrumentation (WMI) query for the event.

Namespace:   Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string WmiEventQuery { get; set; }

Property Value

Type: System.String

A String value that specifies the WMI query for the event.

This property was introduced in SQL Server 2005.

Return to top
Show: