編輯

共用方式為


SqlExecutionException.Exception Property

Definition

Gets the exception encountered when processing the SQL commands.

public:
 property System::Data::SqlClient::SqlException ^ Exception { System::Data::SqlClient::SqlException ^ get(); };
public System.Data.SqlClient.SqlException Exception { get; }
member this.Exception : System.Data.SqlClient.SqlException
Public ReadOnly Property Exception As SqlException

Property Value

The SqlException encountered when processing the SQL commands.

Applies to

See also