다음을 통해 공유


ManagedComputer 생성자 (String, String, String, ProviderArchitecture)

Initializes a new instance of the ManagedComputer class with the specified computer name the specified login, password and the specified ProviderArchitecture.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Wmi
어셈블리:  Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)

구문

‘선언
Public Sub New ( _
    machineName As String, _
    userName As String, _
    password As String, _
    providerArchitecture As ProviderArchitecture _
)
‘사용 방법
Dim machineName As String 
Dim userName As String 
Dim password As String 
Dim providerArchitecture As ProviderArchitecture 

Dim instance As New ManagedComputer(machineName, _
    userName, password, providerArchitecture)
public ManagedComputer(
    string machineName,
    string userName,
    string password,
    ProviderArchitecture providerArchitecture
)
public:
ManagedComputer(
    String^ machineName, 
    String^ userName, 
    String^ password, 
    ProviderArchitecture providerArchitecture
)
new : 
        machineName:string * 
        userName:string * 
        password:string * 
        providerArchitecture:ProviderArchitecture -> ManagedComputer
public function ManagedComputer(
    machineName : String, 
    userName : String, 
    password : String, 
    providerArchitecture : ProviderArchitecture
)

매개 변수

참고 항목

참조

ManagedComputer 클래스

ManagedComputer 오버로드

Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스