Dela via


InvokeCommandCommand.SessionName Property

Definition

Specifies the name of the returned session when the InDisconnectedSession switch is used.

public:
 property cli::array <System::String ^> ^ SessionName { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ SessionName { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] SessionName { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string[] SessionName { get; set; }
member this.SessionName : string[] with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.SessionName : string[] with get, set
Public Property SessionName As String()

Property Value

String[]
Attributes

Applies to