DomainJoinCredentials 构造函数 (String, String)

Initializes a new instance of the DomainJoinCredentials class with required arguments.

命名空间: Microsoft.WindowsAzure.Management.Compute.Models
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)

使用

用法
Dim userName As String
Dim password As String

Dim instance As New DomainJoinCredentials(userName, password)

语法

声明
Public Sub New ( _
    userName As String, _
    password As String _
)
public DomainJoinCredentials (
    string userName,
    string password
)
public:
DomainJoinCredentials (
    String^ userName, 
    String^ password
)
public DomainJoinCredentials (
    String userName, 
    String password
)
public function DomainJoinCredentials (
    userName : String, 
    password : String
)

备注

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

DomainJoinCredentials 类
DomainJoinCredentials 成员
Microsoft.WindowsAzure.Management.Compute.Models 命名空间