Share via


SessionStateProxy.PSVariable Property

Definition

Get the APIs to access variables out of session state.

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

Property Value

Exceptions

Runspace is not open.

Another SessionStateProxy call or another pipeline is in progress.

Applies to