This documentation is archived and is not being maintained.
SqlExecutionException Properties
Visual Studio 2008
The SqlExecutionException type exposes the following members.
| Name | Description | |
|---|---|---|
|
Commands | Gets the SQL commands being run when the exception occurred. |
|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) |
|
Database | Gets the name of the database being accessed when the exception occurred. |
|
Exception | Gets the exception encountered when processing the SQL commands. |
|
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) |
|
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) |
|
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) |
|
Message | Gets a message that describes the current exception. (Inherited from Exception.) |
|
Server | Gets the SQL Server instance being accessed when the exception occurred. |
|
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) |
|
SqlFile | Gets the path and name of the file containing the SQL commands being run when the exception occurred. |
|
StackTrace | Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.) |
|
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Show: