ScopedItemOptions Enumeration
TOC
Collapse the table of content
Expand the table of content

ScopedItemOptions Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines how session state data can be used.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum class ScopedItemOptions

Member nameDescription
AllScope

The item is propagated to each new child scope created.

Constant

The item cannot be removed or changed. This flag can only be set a variable creation.

None

There are no constraints on the item.

Private

The item is private to the scope it was created in and cannot be seen from child scopes.

ReadOnly

The item is readonly. It can be removed but cannot be changed.

Unspecified

The option is not specified by the user

Return to top
Show:
© 2016 Microsoft