Partager via


Propriété ClientProtocol.IsEnabled

Gets or sets the Boolean property that specifies whether the client network protocol is enabled or disabled.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public Property IsEnabled As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ClientProtocol 
Dim value As Boolean 

value = instance.IsEnabled

instance.IsEnabled = value
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean 
function set IsEnabled (value : boolean)

Valeur de propriété

Type : System.Boolean
A Boolean value that specifies whether the client network protocol is enabled or disabled.If True, the client network protocol is enabled.If False (default), the client network protocol is disabled.

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

Voir aussi

Référence

ClientProtocol Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi

Autres ressources

WMI and SQL Server

Connexion au moteur de base de données SQL Server