Error Objects

OLE DB Programmer's Reference

The error programming task is represented by the Automation error object. An error object is an object that contains detailed information about an error.

Each interface method reports a return code indicating whether the method succeeded or failed. In some cases, if a method operates on an array of data structures, an array of status information is returned, reporting the state of each element of the array of data structures.

In addition, providers can expose OLE DB error objects that extend the Automation error object and that contain extended error information such as a description of the error or the appropriate SQLSTATE. Error objects can be created by any interface on any OLE DB object. Providers can also choose to define custom error objects.

For more information, see Chapter 16: Errors.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net