Share via


IWmiEventWatcherTask.WqlQuerySource Property

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

Gets or sets the source of the WQL query to be executed by the task.

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

Syntax

'Declaration
Property WqlQuerySource As String 
    Get 
    Set
'Usage
Dim instance As IWmiEventWatcherTask 
Dim value As String 

value = instance.WqlQuerySource

instance.WqlQuerySource = value
string WqlQuerySource { get; set; }
property String^ WqlQuerySource {
    String^ get ();
    void set (String^ value);
}
abstract WqlQuerySource : string with get, set
function get WqlQuerySource () : String 
function set WqlQuerySource (value : String)

Property Value

Type: System.String
The source of the WQL query.

See Also

Reference

IWmiEventWatcherTask Interface

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace