共用方式為


QuerySourceType Enum

Definition

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 QuerySourceType
public enum QuerySourceType
type 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.

Applies to