Share via


The NativeError property reports native error numbers reported by the error source.

object.NativeError [=value]

Applies To

SSCEError Object

Data Type

Long

Modifiable

Read-only

Prototype

HRESULT get_NativeError(long *pVal);

Parameter

Description

value

The native error number of the error.

When the NativeError property of the SSCEError object returns a value of 0, it means that a non-native SQL Server Compact 3.5 Engine error has occurred. The OLE DB HRESULT code for this non-native error can be obtained from the Number property.

Reference

ErrorNumber Property (SQL Server Compact)

Other Resources

Error Control Objects and Collections (SQL Server Compact)