Share via


DataRuleProblem.Severity Property

Gets or sets the severity of this problem.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Property Severity As DataRuleProblemSeverity
public DataRuleProblemSeverity Severity { get; set; }
public:
property DataRuleProblemSeverity Severity {
    DataRuleProblemSeverity get ();
    void set (DataRuleProblemSeverity value);
}
member Severity : DataRuleProblemSeverity with get, set
function get Severity () : DataRuleProblemSeverity
function set Severity (value : DataRuleProblemSeverity)

Property Value

Type: Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleProblemSeverity

Remarks

The severity can be an error or a warning.

.NET Framework Security

See Also

Reference

DataRuleProblem Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace