SSCEError Object
SQL Server Compact uses SSCEError objects to report Engine object errors. SQL Server Compact creates an SSCEErrors collection that contains one or more SSCEError objects whenever an 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 Engine object method is called.