ManagedComputer コンストラクター (String, String, String, ProviderArchitecture)

指定したコンピューター名、指定したログインとパスワード、指定した ProviderArchitecture を使用して、ManagedComputer クラスの新しいインスタンスを初期化します。

名前空間:  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 名前空間