Share via


Classe ValidationState

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Provides data on the state of an SFC validation operation.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Class ValidationState
'Utilisation
Dim instance As ValidationState
public class ValidationState
public ref class ValidationState
type ValidationState =  class end
public class ValidationState

Le type ValidationState expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ValidationState() () () () Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new, default instance of the ValidationState class.
Méthode publique ValidationState(Exception, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new instance of the ValidationState class with the specified exception and binding key.
Méthode publique ValidationState(String, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new instance of the ValidationState class with the specified message and binding key.
Méthode publique ValidationState(Exception, String, Boolean) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type.
Méthode publique ValidationState(String, Exception, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type.
Méthode publique ValidationState(String, String, Boolean) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new instance of the ValidationState class with the specified error message, binding key, and fault type.
Méthode publique ValidationState(String, Exception, String, Boolean) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Initializes a new instance of the ValidationState class with the specified message, exception, binding key, and fault type.

Haut de la page

Propriétés

  Nom Description
Propriété publique HasErrors Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Gets a value indicating whether the ValidationState contains one or more errors.
Propriété publique HasWarnings Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Gets a value indicating whether the ValidationState contains one or more warnings.
Propriété publique Results Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Gets the list of results associated with this validation state.

Haut de la page

Méthodes

  Nom Description
Méthode publique AddError(Exception, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Adds an error with the specified exception and binding key to the ValidationState.
Méthode publique AddError(String, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Adds an error with the specified message and binding key to the ValidationState.
Méthode publique AddError(String, Exception, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Adds an error with the specified message, exception, and binding key to the ValidationState.
Méthode publique AddWarning(Exception, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Adds a warning with the specified exception and binding key to the ValidationState.
Méthode publique AddWarning(String, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Adds a warning with the specified message and binding key to the ValidationState.
Méthode publique AddWarning(String, Exception, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.. Adds a warning with the specified message, exception and binding key to the ValidationState.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.