NativeSqlConnectionException.SqlState 속성

Indicates the Microsoft SQL Server SQL state for the error.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)

public string SqlState { get; }

속성 값

유형: 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.