Partager via


OLEDBError.SqlState Property

Returns the SQL state error.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property SqlState As String
    Get
'Usage
Dim instance As OLEDBError
Dim value As String

value = instance.SqlState
string SqlState { get; }

Property Value

Type: System.String

Remarks

For an explanation of the specific error, see your SQL documentation.

See Also

Reference

OLEDBError Interface

OLEDBError Members

Microsoft.Office.Interop.Excel Namespace