SqlState-Eigenschaft
Gibt den Microsoft SQL Server SQL-Status für den Fehler an.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Public ReadOnly Property SqlState As String
Get
'Usage
Dim instance As NativeSqlConnectionException
Dim value As String
value = instance.SqlState
public string SqlState { get; }
public:
property String^ SqlState {
String^ get ();
}
member SqlState : string
function get SqlState () : String
Eigenschaftswert
Typ: System. . :: . .String
Ein String-Wert mit fünf Zeichen, der dem ANSI SQL-Standard folgt und den Fehlercode angibt
Hinweise
The SqlState property is used to get the error code that the provider returns when an error occurs during the processing of an SQL statement.