Share via


TSqlCompilationError.IsWarning Property

Gets a value that specifies whether the error is an exception, or if it is just a warning.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public ReadOnly Property IsWarning As Boolean
    Get
'Usage
Dim instance As TSqlCompilationError
Dim value As Boolean

value = instance.IsWarning
public bool IsWarning { get; }
public:
property bool IsWarning {
    bool get ();
}
member IsWarning : bool
function get IsWarning () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the error is a warning. If true, the error is just a warning. If false, the error is an exception.