Jaa


SSCEError Object

SQL Server 2005 Compact Edition (SQL Server Compact Edition) uses SSCEError objects to report Replication, RDA, or Engine object errors. SQL Server Compact Edition 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

SQL Server Compact Edition Engine Object Programming
SQL Server Compact Edition Remote Data Access Programming
SQL Server Compact Edition Replication Programming

Help and Information

Getting SQL Server Compact Edition Assistance