Expand Minimize

Number Property (ADO)

Indicates the number that uniquely identifies an Error object.

Returns a Long value that may correspond to one of the ErrorValueEnum constants.

Use the Number property to determine which error occurred. The value of the property is a unique number that corresponds to the error condition.

The Errors collection returns an HRESULT in either hexadecimal format (for example, 0x80004005) or long value (for example, 2147467259). These HRESULTs can be raised by underlying components, such as OLE DB or even OLE itself. For more information about these numbers, see Errors (OLE DB) in the OLE DB Programmer's Reference.

Show:
© 2014 Microsoft