共用方式為


HasWarnings 屬性

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

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

語法

'宣告
Public ReadOnly Property HasWarnings As Boolean
    Get
'用途
Dim instance As ValidationState
Dim value As Boolean

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

屬性值

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