Freigeben über


IWmiEventWatcherTask.WmiConnection-Eigenschaft

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Gets or sets the name of the WMI connection associated with the task.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly:  Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)

Syntax

'Declaration
Property WmiConnection As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.String
The name of the WMI connection associated with the task.

Siehe auch

Verweis

IWmiEventWatcherTask Schnittstelle

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask-Namespace