Share via


AddComputerCommand.UnjoinDomainCredential Property

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As AddComputerCommand
Dim value As PSCredential

value = instance.UnjoinDomainCredential

instance.UnjoinDomainCredential = value

Syntax

'Declaration
<ValidateNotNullOrEmptyAttribute> _
<ParameterAttribute(ParameterSetName:="Domain")> _
<CredentialAttribute> _
Public Property UnjoinDomainCredential As PSCredential
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ParameterSetName="Domain")] 
[CredentialAttribute] 
public PSCredential UnjoinDomainCredential { get; set; }
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ParameterSetName=L"Domain")] 
[CredentialAttribute] 
public:
property PSCredential^ UnjoinDomainCredential {
    PSCredential^ get ();
    void set (PSCredential^ value);
}
/** @property */
public PSCredential get_UnjoinDomainCredential ()

/** @property */
public void set_UnjoinDomainCredential (PSCredential value)
public function get UnjoinDomainCredential () : PSCredential

public function set UnjoinDomainCredential (value : PSCredential)

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

Target Platforms

See Also

Reference

AddComputerCommand Class
AddComputerCommand Members
Microsoft.PowerShell.Commands Namespace