共用方式為


HasErrors 屬性

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Gets a value indicating whether the ValidationState contains one or more errors.

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public ReadOnly Property HasErrors As Boolean
    Get
'用途
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

屬性值

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