QuerySourceType Enum  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the source type of the WqlQuerySource property, which provides the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask class.
public enum class QuerySourceTypepublic enum QuerySourceTypetype QuerySourceType = Public Enum QuerySourceType- Inheritance
- 
				QuerySourceType
Fields
| Name | Value | Description | 
|---|---|---|
| FileConnection | 0 | WqlQuerySource contains the name of a file connection from which to retrieve the WQL query. | 
| DirectInput | 1 | WqlQuerySource contains the WQL query. | 
| Variable | 2 | WqlQuerySource contains the name of a variable from which to retrieve the WQL query. |