다음을 통해 공유


WmiEventWatcherTask.WmiConnection 속성

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

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

구문

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

value = instance.WmiConnection

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

속성 값

유형: System.String
The name of the WMIConn class associated with the task.

구현

IWmiEventWatcherTask.WmiConnection

주의

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.

참고 항목

참조

WmiEventWatcherTask 클래스

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