Share via


SSCEError Object

SQL Server Compact 3.5 (SQL Server Compact 3.5) uses SSCEError objects to report Replication, RDA, or Engine object errors. SQL Server Compact 3.5 creates an SSCEErrors collection that contains one or more SSCEError objects whenever a Replication, RDA, or Engine object method call fails.

Properties

The SSCEError object has the following properties:

Property Description

Description

The Description property provides a descriptive error message.

ErrorNumber

The ErrorNumber property provides the OLE DB HRESULT error number reported by the error source.

NativeError

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

Source

The Source property names the source of the native error.

Params

The Params property provides a descriptive element of an error.

Remarks

Your application can enumerate through the SSCEErrors collection and examine each SSCEError object to identify the error.

Error objects and collections are retained until the next Replication, RDA, or Engine object method is called.

See Also

Reference

SSCEErrors Collection

Other Resources

Engine Object Programming (SQL Server Compact)
Remote Data Access Programming (SQL Server Compact)
Replication Programming (SQL Server Compact)

Help and Information

Getting Assistance (SQL Server Compact 3.5 Service Pack 1)