共用方式為


PSRemotingBaseCmdlet.UserName Property

Definition

SSH 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="SSHHost")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual string UserName { get; set; }
public virtual string UserName { get; set; }
[<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 Overridable Property UserName As String

Property Value

Attributes

Applies to