Delen via


Job.Warning Property

Definition

Gets or sets the warning buffer. Warnings of job are written to this buffer.

public:
 property System::Management::Automation::PSDataCollection<System::Management::Automation::WarningRecord ^> ^ Warning { System::Management::Automation::PSDataCollection<System::Management::Automation::WarningRecord ^> ^ get(); void set(System::Management::Automation::PSDataCollection<System::Management::Automation::WarningRecord ^> ^ value); };
public System.Management.Automation.PSDataCollection<System.Management.Automation.WarningRecord> Warning { get; set; }
member this.Warning : System.Management.Automation.PSDataCollection<System.Management.Automation.WarningRecord> with get, set
Public Property Warning As PSDataCollection(Of WarningRecord)

Property Value

Exceptions

Cannot set to a null value.

Object is disposed.

Applies to