Share via


ValidationState.HasErrors Property

Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Gets a value indicating whether the ValidationState contains one or more errors.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public ReadOnly Property HasErrors As Boolean 
    Get
'Usage
Dim instance As ValidationState 
Dim value As Boolean 

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

Property Value

Type: System.Boolean
True if the ValidationState contains at least one error. Otherwise, false.

See Also

Reference

ValidationState Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace