Udostępnij przez


Właściwość TSqlCompilationError.IsWarning

Pobiera wartość określająca, czy błąd jest wyjątek lub jeśli jest po prostu ostrzeżenie.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dac
Zestaw:  Microsoft.SqlServer.Management.Dac (w Microsoft.SqlServer.Management.Dac.dll)

Składnia

'Deklaracja
Public ReadOnly Property IsWarning As Boolean
    Get
'Użycie
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

Wartość właściwości

Typ: System.Boolean
A Boolean wartość określająca, czy błąd jest ostrzeżenie.Jeśli true, błąd jest po prostu ostrzeżenie.Jeśli false, błąd jest wyjątek.