Construtor ManagedComputer (String)
Initializes a new instance of the ManagedComputer class with the specified computer name.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxe
'Declaração
Public Sub New ( _
machineName As String _
)
'Uso
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
)
Parâmetros
- machineName
Tipo: System.String
A String value that specifies the name of the computer.
Exemplos
Gerenciando serviços e configurações de rede através do provedor do WMI
Consulte também
Referência
Sobrecarregado ManagedComputer
Namespace Microsoft.SqlServer.Management.Smo.Wmi