Share via


NativeError Property (SQL Server Compact Edition)

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

Syntax

object.NativeError [=value]

Parameters

Parameter Description

value

The native error number of the error.

Applies To

SSCEError Object

Data Type

Long

Modifiable

Read-only

Prototype

HRESULT get_NativeError(long *pVal);

Remarks

When the NativeError property of the SSCEError object returns a value of 0, it means that a non-native SQL Server 2005 Compact Edition 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 Edition)

Other Resources

Error Control Objects and Collections (SQL Server Compact Edition)

Help and Information

Getting SQL Server Compact Edition Assistance