Share via


ReadHostCommand.AsSecureString Property

Definition

Gets or sets to no echo the input as is typed. If set then the cmdlet returns a secure string.

public:
 property System::Management::Automation::SwitchParameter AsSecureString { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter AsSecureString { get; set; }
[System.Management.Automation.Parameter]
public System.Management.Automation.SwitchParameter AsSecureString { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="AsSecureString")]
public System.Management.Automation.SwitchParameter AsSecureString { get; set; }
member this.AsSecureString : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter>]
member this.AsSecureString : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter(ParameterSetName="AsSecureString")>]
member this.AsSecureString : System.Management.Automation.SwitchParameter with get, set
Public Property AsSecureString As SwitchParameter

Property Value

Attributes

Applies to