Share via


DeploymentChangeConfigurationParameters.TreatWarningsAsError Property

Gets or sets whether to treat package validation warnings as errors.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As DeploymentChangeConfigurationParameters
Dim value As Nullable(Of Boolean)

value = instance.TreatWarningsAsError

instance.TreatWarningsAsError = value

Syntax

'Declaration
Public Property TreatWarningsAsError As Nullable(Of Boolean)
public Nullable<bool> TreatWarningsAsError { get; set; }
public:
property Nullable<bool> TreatWarningsAsError {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
/** @property */
public Nullable<boolean> get_TreatWarningsAsError ()

/** @property */
public void set_TreatWarningsAsError (Nullable<boolean> value)
public function get TreatWarningsAsError () : Nullable<boolean>

public function set TreatWarningsAsError (value : Nullable<boolean>)

Property Value

true to treat package validation warnings as errors; otherwise, false.

Remarks

The default value is false.

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 Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DeploymentChangeConfigurationParameters Class
DeploymentChangeConfigurationParameters Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace