Bagikan melalui


WmiEventWatcherTask.WqlQuerySourceType Property

Gets or sets a QuerySourceType value that indicates the source type, such as file connection or a variable, of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask.

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

Syntax

'Declaration
Public Property WqlQuerySourceType As QuerySourceType 
    Get 
    Set
'Usage
Dim instance As WmiEventWatcherTask 
Dim value As QuerySourceType 

value = instance.WqlQuerySourceType

instance.WqlQuerySourceType = value
public QuerySourceType WqlQuerySourceType { get; set; }
public:
virtual property QuerySourceType WqlQuerySourceType {
    QuerySourceType get () sealed;
    void set (QuerySourceType value) sealed;
}
abstract WqlQuerySourceType : QuerySourceType with get, set 
override WqlQuerySourceType : QuerySourceType with get, set
final function get WqlQuerySourceType () : QuerySourceType 
final function set WqlQuerySourceType (value : QuerySourceType)

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.QuerySourceType
A QuerySourceType value. The default is DirectInput.

Implements

IWmiEventWatcherTask.WqlQuerySourceType

See Also

Reference

WmiEventWatcherTask Class

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace