Share via


ValidationState Class

Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Provides data on the state of an SFC validation operation.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState

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

Syntax

'Declaration
Public Class ValidationState
'Usage
Dim instance As ValidationState
public class ValidationState
public ref class ValidationState
type ValidationState =  class end
public class ValidationState

The ValidationState type exposes the following members.

Constructors

  Name Description
Public method ValidationState() Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new, default instance of the ValidationState class.
Public method ValidationState(Exception, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new instance of the ValidationState class with the specified exception and binding key.
Public method ValidationState(String, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new instance of the ValidationState class with the specified message and binding key.
Public method ValidationState(Exception, String, Boolean) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type.
Public method ValidationState(String, Exception, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type.
Public method ValidationState(String, String, Boolean) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new instance of the ValidationState class with the specified error message, binding key, and fault type.
Public method ValidationState(String, Exception, String, Boolean) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Initializes a new instance of the ValidationState class with the specified message, exception, binding key, and fault type.

Top

Properties

  Name Description
Public property HasErrors 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.
Public property HasWarnings 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 warnings.
Public property Results Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Gets the list of results associated with this validation state.

Top

Methods

  Name Description
Public method AddError(Exception, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Adds an error with the specified exception and binding key to the ValidationState.
Public method AddError(String, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Adds an error with the specified message and binding key to the ValidationState.
Public method AddError(String, Exception, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Adds an error with the specified message, exception, and binding key to the ValidationState.
Public method AddWarning(Exception, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Adds a warning with the specified exception and binding key to the ValidationState.
Public method AddWarning(String, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Adds a warning with the specified message and binding key to the ValidationState.
Public method AddWarning(String, Exception, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.. Adds a warning with the specified message, exception and binding key to the ValidationState.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace