NativeError Property (SQL Server Compact)
The NativeError property reports native error numbers reported by the error source.
Syntax
object.NativeError [=value]
Applies To
SSCEError Object
Data Type
Long
Modifiable
Read-only
Prototype
HRESULT get_NativeError(long *pVal);
Parameters
Parameter |
Description |
---|---|
value |
The native error number of the error. |
Remarks
When the NativeError property of the SSCEError object returns a value of 0, it means that a non-native SQL Server Compact Engine error has occurred. The OLE DB HRESULT code for this non-native error can be obtained from the Number property.
See Also
Reference
ErrorNumber Property (SQL Server Compact)