Dela via


ImplicitRemotingCommandBase.Session Property

Definition

The PSSession object describing the remote runspace using which the specified cmdlet operation will be performed.

public:
 property System::Management::Automation::Runspaces::PSSession ^ Session { System::Management::Automation::Runspaces::PSSession ^ get(); void set(System::Management::Automation::Runspaces::PSSession ^ value); };
public System.Management.Automation.Runspaces.PSSession Session { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, Position=0)]
[System.Management.Automation.ValidateNotNull]
public System.Management.Automation.Runspaces.PSSession Session { get; set; }
member this.Session : System.Management.Automation.Runspaces.PSSession with get, set
[<System.Management.Automation.Parameter(Mandatory=true, Position=0)>]
[<System.Management.Automation.ValidateNotNull>]
member this.Session : System.Management.Automation.Runspaces.PSSession with get, set
Public Property Session As PSSession

Property Value

Attributes

Applies to