共用方式為


PSCmdlet.SessionState Property

Definition

Gets the instance of session state for the current runspace.

public:
 property System::Management::Automation::SessionState ^ SessionState { System::Management::Automation::SessionState ^ get(); };
public System.Management.Automation.SessionState SessionState { get; }
member this.SessionState : System.Management.Automation.SessionState
Public ReadOnly Property SessionState As SessionState

Property Value

Applies to