PSJob.Debug Property

Gets and sets the debug output of the PSJob.

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

Usage

Syntax

'Declaration
Public Property Debug As PSDataCollection(Of String)
public PSDataCollection<string> Debug { get; set; }
public:
property PSDataCollection<String^>^ Debug {
    PSDataCollection<String^>^ get ();
    void set (PSDataCollection<String^>^ value);
}
/** @property */
public PSDataCollection<String> get_Debug ()

/** @property */
public void set_Debug (PSDataCollection<String> value)
public function get Debug () : PSDataCollection<String>

public function set Debug (value : PSDataCollection<String>)

Property Value

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

Exceptions

Exception type Condition
ArgumentNullException

Property is set to null. Set this property to a non-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