Share via


Statement.getLastErrorText Method

Definition

Retrieves the error text that is returned by the SQL database backend for the last SQL operation.

public:
 virtual System::String ^ getLastErrorText();
public virtual string getLastErrorText ();
abstract member getLastErrorText : unit -> string
override this.getLastErrorText : unit -> string
Public Overridable Function getLastErrorText () As String

Returns

The error text that is provided by the SQL database for the last SQL operation.

Applies to