SessionState.LanguageMode Property

Gets the Windows PowerShell language elements that are available to external requests to this session state. This property is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As SessionState
Dim value As PSLanguageMode

value = instance.LanguageMode

instance.LanguageMode = value

public PSLanguageMode LanguageMode { get; set; }
/** @property */
public PSLanguageMode get_LanguageMode ()

/** @property */
public void set_LanguageMode (PSLanguageMode value)

public function get LanguageMode () : PSLanguageMode

public function set LanguageMode (value : PSLanguageMode)

Property Value

One of the PSLanguageMode enumeration values that specifies which Windows PowerShell language elements are available to external requests to this session state.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft