Partager via


Constructeur ManagedComputer (String)

Initializes a new instance of the ManagedComputer class with the specified computer name.

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

Syntaxe

'Déclaration
Public Sub New ( _
    machineName As String _
)
'Utilisation
Dim machineName As String 

Dim instance As New ManagedComputer(machineName)
public ManagedComputer(
    string machineName
)
public:
ManagedComputer(
    String^ machineName
)
new : 
        machineName:string -> ManagedComputer
public function ManagedComputer(
    machineName : String
)

Paramètres

Exemples

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

Voir aussi

Référence

ManagedComputer Classe

Surcharge ManagedComputer

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

Autres ressources

Connexion au moteur de base de données SQL Server