Error Control Properties (SQL Server Compact)

When you program in Visual C++, applications use several error control objects and collections in SQL Server Compact to retrieve error information about Engine object errors. The following table lists the properties used with those objects. Each property is explained in more detail in the respective sections.

Property

Description

Count Property (SQL Server Compact)

Specifies the number of objects in the collection.

Description Property (SQL Server Compact)

Provides a descriptive error message.

ErrorNumber Property (SQL Server Compact)

Provides the OLE DB HRESULT error number reported by the error source.

NativeError Property (SQL Server Compact)

Reports native error numbers reported by the error source.

Params Property (SQL Server Compact)

Provides a description of the error.

Param Property (SQL Server Compact)

Represents a single element of the Params object.

Source Property (SQL Server Compact)

Names the source of the native error.