Partager via


Propriété IWmiEventWatcherTask.WmiConnection

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly :  Microsoft.SqlServer.WMIEWTask (en Microsoft.SqlServer.WMIEWTask.dll)

Syntaxe

'Déclaration
Property WmiConnection As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

IWmiEventWatcherTask Interface

Espace de noms Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask