SqlCeError.HResult Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Returns an HRESULT value that identifies the type of error.

  [Visual Basic]
  Public ReadOnly Property HResult As Integer
[C#]
public int HResult {get;}
[C++]
public: __property int get_HResult();
[JScript]
public function get HResult() : int;

Property Value

The HR number that identifies the type of error.

Remarks

SQL Server CE Books Online does not document specific HRESULTS returned by the HResult property because these errors are not native to SQL Server CE. If you are looking for information about specific HRESULT values, see Winerror.h and Wininet.h that are included with Microsoft Visual Studio .NET. For more information about HRESULT values, search the MSDN Library or the Microsoft Knowledge Base.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeError Class | SqlCeError Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.