共用方式為


InvokeCommandCommand.UserName Property

Definition

User Name.

public:
 virtual property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
public:
 virtual property Platform::String ^ UserName { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Management.Automation.Parameter(ParameterSetName="FilePathSSHHost")]
[System.Management.Automation.Parameter(ParameterSetName="SSHHost")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public override string UserName { get; set; }
public override string UserName { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="FilePathSSHHost")>]
[<System.Management.Automation.Parameter(ParameterSetName="SSHHost")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.UserName : string with get, set
member this.UserName : string with get, set
Public Overrides Property UserName As String

Property Value

Attributes

Applies to