Поделиться через


WmiEventWatcherTask.WqlQuerySource Property

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 (in microsoft.sqlserver.wmiewtask.dll)

Синтаксис

'Декларация
Public Property WqlQuerySource As String
public string WqlQuerySource { get; set; }
public:
virtual property String^ WqlQuerySource {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_WqlQuerySource ()

/** @property */
public final void set_WqlQuerySource (String value)
public final function get WqlQuerySource () : String

public final function set WqlQuerySource (value : String)

Значение свойства

A String containing the source of the WQL query.

Замечания

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.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

WmiEventWatcherTask Class
WmiEventWatcherTask Members
Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace