不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Provides data on the state of an SFC validation operation.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Class ValidationState
'用途
Dim instance As ValidationState
public class ValidationState
public ref class ValidationState
type ValidationState = class end
public class ValidationState
ValidationState 型別公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
ValidationState() | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new, default instance of the ValidationState class. |
![]() |
ValidationState(Exception, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new instance of the ValidationState class with the specified exception and binding key. |
![]() |
ValidationState(String, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new instance of the ValidationState class with the specified message and binding key. |
![]() |
ValidationState(Exception, String, Boolean) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type. |
![]() |
ValidationState(String, Exception, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type. |
![]() |
ValidationState(String, String, Boolean) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new instance of the ValidationState class with the specified error message, binding key, and fault type. |
![]() |
ValidationState(String, Exception, String, Boolean) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Initializes a new instance of the ValidationState class with the specified message, exception, binding key, and fault type. |
上層
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
HasErrors | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Gets a value indicating whether the ValidationState contains one or more errors. |
![]() |
HasWarnings | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Gets a value indicating whether the ValidationState contains one or more warnings. |
![]() |
Results | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Gets the list of results associated with this validation state. |
上層
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
AddError(Exception, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Adds an error with the specified exception and binding key to the ValidationState. |
![]() |
AddError(String, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Adds an error with the specified message and binding key to the ValidationState. |
![]() |
AddError(String, Exception, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Adds an error with the specified message, exception, and binding key to the ValidationState. |
![]() |
AddWarning(Exception, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Adds a warning with the specified exception and binding key to the ValidationState. |
![]() |
AddWarning(String, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Adds a warning with the specified message and binding key to the ValidationState. |
![]() |
AddWarning(String, Exception, String) | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。. Adds a warning with the specified message, exception and binding key to the ValidationState. |
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToString | (繼承自 Object。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)