FireDAC.Phys.MSSQL.EMSSQLNativeException
Delphi
EMSSQLNativeException = class(EODBCNativeException)
C++
class PASCALIMPLEMENTATION EMSSQLNativeException : public Firedac::Phys::Odbcwrapper::EODBCNativeException
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.MSSQL.pas FireDAC.Phys.MSSQL.hpp |
FireDAC.Phys.MSSQL | FireDAC.Phys.MSSQL |
Description
Class representing a Microsoft SQL Server driver exception.
The FireDAC Microsoft SQL Server driver raises exceptions of the EMSSQLNativeException class. Use this class to handle driver-specific errors.
Example
try FDConnection1.Connected := True; except on E: EMSSQLNativeException do // perform SQL Server error specific actions end;