Condividi tramite


SqlCeInfoMessageEventArgs.ErrorCode Property

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

Gets the HRESULT following the ANSI SQL standard for the database.

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

Property Value

The HRESULT, which identifies the source of the error, if the error can be issued from more than one place.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeInfoMessageEventArgs Class | SqlCeInfoMessageEventArgs 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.