Indicates the provider-specific error code for a given Error object.
Applies To
Required Files
msado15.dll
VC: adoint.h, adoid.h
Return Values
Returns a Long value.
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.
Examples
Description, HelpContext, HelpFile, NativeError, Number, Source, SQLState Properties Example (VB)
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.