次の方法で共有


IWmiEventWatcherTask.WmiConnection プロパティ

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

タスクに関連付けられた WMI 接続の名前を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
アセンブリ:  Microsoft.SqlServer.WMIEWTask (Microsoft.SqlServer.WMIEWTask.dll)

構文

'宣言
Property WmiConnection As String 
    Get 
    Set
'使用
Dim instance As IWmiEventWatcherTask 
Dim value As String 

value = instance.WmiConnection

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

プロパティ値

型: System.String
タスクに関連付けられた WMI 接続の名前です。

関連項目

参照

IWmiEventWatcherTask インターフェイス

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask 名前空間