Share via


Error Control Properties (SQL Server Compact)

When you program in Visual C++ for Devices, applications use several error control objects and collections in SQL Server Compact 3.5 to retrieve error information about Replication, RDA, and 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.