Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the ManagedComputer class with the specified computer name and the specified login and password.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public Sub New ( _
machineName As String, _
userName As String, _
password As String _
)
'Usage
Dim machineName As String
Dim userName As String
Dim password As String
Dim instance As New ManagedComputer(machineName, _
userName, password)
public ManagedComputer(
string machineName,
string userName,
string password
)
public:
ManagedComputer(
String^ machineName,
String^ userName,
String^ password
)
new :
machineName:string *
userName:string *
password:string -> ManagedComputer
public function ManagedComputer(
machineName : String,
userName : String,
password : String
)
Parameters
- machineName
Type: System.String
A String value that specifies the name of the computer.
- userName
Type: System.String
A String value that specifies the user name.
- password
Type: System.String
A String value that specifies the password.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace