Share via


WmiEventWatcherTask.WqlQuerySource 속성

Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
어셈블리:  Microsoft.SqlServer.WMIEWTask(Microsoft.SqlServer.WMIEWTask.dll)

구문

‘선언
Public Property WqlQuerySource As String 
    Get 
    Set
‘사용 방법
Dim instance As WmiEventWatcherTask 
Dim value As String 

value = instance.WqlQuerySource

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

속성 값

유형: System.String
A String containing the source of the WQL query.

구현

IWmiEventWatcherTask.WqlQuerySource

주의

The value of this property depends on the value of the WQLQuerySourceType property. If the WQLQuerySourceType property is set to DirectInput, then this property contains the WQL query to be executed by the task. Otherwise, this property contains the name of the file connection or variable that provides the WQL query to be executed by this task.

For more information about the values supported for WQLQuerySource, see QuerySourceType.

참고 항목

참조

WmiEventWatcherTask 클래스

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask 네임스페이스