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.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스