Data Management Object Model Reference

ADODataSet.OleDbGetLastError Method 

Returns an OleDb Exception object. The object may contain multiple errors.

[Visual Basic]
Public Function OleDbGetLastError() As OleDbException
[C#]
public OleDbException OleDbGetLastError();

See Also

ADODataSet Class | SPSSMR.Data.Transformations Namespace