Udostępnij za pośrednictwem


SessionStateVariableEntry Class

Definition

public ref class SessionStateVariableEntry sealed : System::Management::Automation::Runspaces::ConstrainedSessionStateEntry
public sealed class SessionStateVariableEntry : System.Management.Automation.Runspaces.ConstrainedSessionStateEntry
type SessionStateVariableEntry = class
    inherit ConstrainedSessionStateEntry
Public NotInheritable Class SessionStateVariableEntry
Inherits ConstrainedSessionStateEntry
Inheritance

Constructors

SessionStateVariableEntry(String, Object, String, ScopedItemOptions, Attribute)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

SessionStateVariableEntry(String, Object, String, ScopedItemOptions, Collection<Attribute>)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

SessionStateVariableEntry(String, Object, String, ScopedItemOptions)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

SessionStateVariableEntry(String, Object, String)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

Properties

Attributes

The attributes that will be attached to this object.

Description

The description associated with this variable.

Module

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Name

The name of this entry.

(Inherited from InitialSessionStateEntry)
Options

The options associated with this variable (e.g. readonly, allscope, etc.)

PSSnapIn

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Value

The value to bind to this variable.

Visibility (Inherited from ConstrainedSessionStateEntry)

Methods

Clone()

Shallow-clone this object...

Applies to