SqlCeError.HResult Property
Returns an HRESULT value that identifies the type of error.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)
Syntax
'Declaration
Public ReadOnly Property HResult As Integer
'Usage
Dim instance As SqlCeError
Dim value As Integer
value = instance.HResult
public int HResult { get; }
public:
property int HResult {
int get ();
}
/** @property */
public int get_HResult ()
public function get HResult () : int
Not applicable.
Property Value
The HR number that identifies the type of error.
Remarks
SQL Server Compact Edition Books Online does not document specific HRESULTs returned by the HResult property because these errors are not native to SQL Server Compact Edition. If you are looking for information about specific HRESULT values, see Winerror.h and Wininet.h, which are included with Microsoft Visual Studio .NET. For more information about HRESULT values, search the MSDN® Library or the Microsoft Knowledge Base.
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
.NET Compact Framework
Supported in: 2.0, 1.0
See Also
Reference
SqlCeError Class
SqlCeError Members
System.Data.SqlServerCe Namespace