Share via


FilterInfo.ScriptBlock Property

Gets a precompiled block of Windows PowerShell script text.

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

Usage

Syntax

'Declaration
Public ReadOnly Property ScriptBlock As ScriptBlock
public ScriptBlock ScriptBlock { get; }
public:
property ScriptBlock^ ScriptBlock {
    ScriptBlock^ get ();
}
/** @property */
public ScriptBlock get_ScriptBlock ()
public function get ScriptBlock () : ScriptBlock

Property Value

A ScriptBlock object that represents a precompiled block of Windows PowerShell script text.

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