Error Control Properties (SQL Server Compact Edition)

When programming in Microsoft Visual C++ for Devices, applications use several error control objects and collections in SQL Server 2005 Compact Edition 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 following sections.

Property Description

Count Property (SQL Server Compact Edition)

Specifies the number of objects in the collection.

Description Property (SQL Server Compact Edition)

Provides a descriptive error message.

ErrorNumber Property (SQL Server Compact Edition)

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

NativeError Property (SQL Server Compact Edition)

Reports native error numbers reported by the error source.

Params Property (SQL Server Compact Edition)

Provides a description of the error.

Source Property (SQL Server Compact Edition)

Names the source of the native error.