Share via


FilterInfo.Options Property

Gets or sets the scope options for the filter.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Public Property Options As ScopedItemOptions
public ScopedItemOptions Options { get; set; }
public:
property ScopedItemOptions Options {
    ScopedItemOptions get ();
    void set (ScopedItemOptions value);
}
/** @property */
public ScopedItemOptions get_Options ()

/** @property */
public void set_Options (ScopedItemOptions value)
public function get Options () : ScopedItemOptions

public function set Options (value : ScopedItemOptions)

Property Value

A ScopedItemOptions enumeration constant that identifies the scope of the filter.

Exceptions

Exception type Condition
SessionStateUnauthorizedAccessException

Trying to set a function that is constant, or the value trying to be set is Constant.

Thread Safety

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

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

FilterInfo Class
FilterInfo Members
System.Management.Automation Namespace

Other Resources

Windows PowerShell Programmer's Guide
Windows PowerShell SDK