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


WmiEventWatcherTask.WmiConnection Property

Gets or sets the name of the WMIConn class used by the WmiEventWatcherTask task.

Пространство имен: Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Сборка: Microsoft.SqlServer.WMIEWTask (in microsoft.sqlserver.wmiewtask.dll)

Синтаксис

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

/** @property */
public final void set_WmiConnection (String value)
public final function get WmiConnection () : String

public final function set WmiConnection (value : String)

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

The name of the WMIConn class associated with the task.

Замечания

The WMIConn class contains the information needed by Windows Management Instrumentation (WMI) to connect the task to a server. The server specified in this property is the instance against which the Windows Management Instrumentation Query Language (WQL) query referenced in WqlQuerySource is executed.

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

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