NativeError Property (ADO)

Microsoft ActiveX Data Objects (ADO)

ADO 2.5 API Reference

NativeError Property

Indicates the provider-specific error code for a given Error object.

Return Value

Returns a Long value that indicates the error code.

Remarks

Use the NativeError property to retrieve the database-specific error information for a particular Error object. For example, when using the Microsoft ODBC Provider for OLE DB with a Microsoft SQL Server database, native error codes that originate from SQL Server pass through ODBC and the ODBC Provider to the ADO NativeError property.

See Also

Visual Basic Example | Visual C++ Example | Visual J++ Example

Applies To: Error Object

© 1998-2003 Microsoft Corporation. All rights reserved.