Freigeben über


ValidationState-Klasse

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Provides data on the state of an SFC validation operation.

Vererbungshierarchie

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

Der ValidationState-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ValidationState() Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new, default instance of the ValidationState class.
Öffentliche Methode ValidationState(Exception, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new instance of the ValidationState class with the specified exception and binding key.
Öffentliche Methode ValidationState(String, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new instance of the ValidationState class with the specified message and binding key.
Öffentliche Methode ValidationState(Exception, String, Boolean) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type.
Öffentliche Methode ValidationState(String, Exception, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new instance of the ValidationState class with the specified exception, binding key, and fault type.
Öffentliche Methode ValidationState(String, String, Boolean) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new instance of the ValidationState class with the specified error message, binding key, and fault type.
Öffentliche Methode ValidationState(String, Exception, String, Boolean) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Initializes a new instance of the ValidationState class with the specified message, exception, binding key, and fault type.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft HasErrors Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Gets a value indicating whether the ValidationState contains one or more errors.
Öffentliche Eigenschaft HasWarnings Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Gets a value indicating whether the ValidationState contains one or more warnings.
Öffentliche Eigenschaft Results Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Gets the list of results associated with this validation state.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode AddError(Exception, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Adds an error with the specified exception and binding key to the ValidationState.
Öffentliche Methode AddError(String, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Adds an error with the specified message and binding key to the ValidationState.
Öffentliche Methode AddError(String, Exception, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Adds an error with the specified message, exception, and binding key to the ValidationState.
Öffentliche Methode AddWarning(Exception, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Adds a warning with the specified exception and binding key to the ValidationState.
Öffentliche Methode AddWarning(String, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Adds a warning with the specified message and binding key to the ValidationState.
Öffentliche Methode AddWarning(String, Exception, String) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.. Adds a warning with the specified message, exception and binding key to the ValidationState.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace