Свойство NativeSqlConnectionException.SqlState
Indicates the Microsoft SQL Server SQL state for the error.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)
Синтаксис
'Декларация
Public ReadOnly Property SqlState As String
Get
'Применение
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
Значение свойства
Тип: System.String
A five-character String value that follows the ANSI SQL standard and indicates the error code
Замечания
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.