Share via


DomainJoinSettings.Credentials Property

Gets or sets an DomainJoinCredentials object that specifies the credentials to use to join the Virtual Machine to the domain.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As DomainJoinSettings
Dim value As DomainJoinCredentials

value = instance.Credentials

instance.Credentials = value

Syntax

'Declaration
Public Property Credentials As DomainJoinCredentials
public DomainJoinCredentials Credentials { get; set; }
public:
property DomainJoinCredentials^ Credentials {
    DomainJoinCredentials^ get ();
    void set (DomainJoinCredentials^ value);
}
/** @property */
public DomainJoinCredentials get_Credentials ()

/** @property */
public void set_Credentials (DomainJoinCredentials value)
public function get Credentials () : DomainJoinCredentials

public function set Credentials (value : DomainJoinCredentials)

Property Value

An DomainJoinCredentials object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DomainJoinSettings Class
DomainJoinSettings Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace