ManagedComputer 构造函数 (String, String, String)
Initializes a new instance of the ManagedComputer class with the specified computer name and the specified login and password.
命名空间: Microsoft.SqlServer.Management.Smo.Wmi
程序集: Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
语法
声明
Public Sub New ( _
machineName As String, _
userName As String, _
password As String _
)
用法
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
)
参数
- machineName
类型:System.String
A String value that specifies the name of the computer.
- userName
类型:System.String
A String value that specifies the user name.
- password
类型:System.String
A String value that specifies the password.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Wmi 命名空间