PSJob.Progress Property

Gets and sets the progress data of the PSJob.

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

Usage

Syntax

'Declaration
Public Property Progress As PSDataCollection(Of ProgressRecord)
public PSDataCollection<ProgressRecord> Progress { get; set; }
public:
property PSDataCollection<ProgressRecord^>^ Progress {
    PSDataCollection<ProgressRecord^>^ get ();
    void set (PSDataCollection<ProgressRecord^>^ value);
}
/** @property */
public PSDataCollection<ProgressRecord> get_Progress ()

/** @property */
public void set_Progress (PSDataCollection<ProgressRecord> value)
public function get Progress () : PSDataCollection<ProgressRecord>

public function set Progress (value : PSDataCollection<ProgressRecord>)

Property Value

A PSDataCollection collection that contains the progress output from the pipeline executed by the PSJob.

Exceptions

Exception type Condition
ArgumentNullException

Property is set to null. Set this property to anon-null value.

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

PSJob Class
PSJob Members
System.Management.Automation Namespace