The QueryResultPacket type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| QueryResultPacket |
Generic constructor.
|
Methods
| Name | Description | |
|---|---|---|
| GetData |
Returns the query result data.
| |
| GetHasError |
Returns true if an error occured.
| |
| GetMessage |
Returns the message if an error occured.
| |
| GetQueryTimeInSeconds |
Returns the query execution time in seconds.
| |
| GetSql |
Returns the SQL query that was attempted to be executed.
| |
| GetStackTrace |
Returns the stack trace if an error occured.
| |
| SetData |
Sets the query result data.
| |
| SetHasError |
Sets the boolean indicator if an SQL execution error occured.
| |
| SetMessage |
Sets the message if an error occured.
| |
| SetQueryTimeInSeconds |
Sets the query execution time in seconds.
| |
| SetSql |
Sets the Sql variable of this class.
| |
| SetStackTrace |
Sets the stack trace if an error occured.
| |
| ToString |
Provides a string representation of this QueryResultPacket object.
(Overrides Object ToString .) |
Fields
| Name | Description | |
|---|---|---|
| data |
The returned data set for the given query execution.
Null if there was a query execution error.
| |
| error |
Returns true if there was an error executing a query.
| |
| message |
Database server message if there was a query execution error.
| |
| queryTime |
Time it took to execute the query.
| |
| sql |
Sql of the query that was executed.
| |
| stacktrace |
Stack trace of the query execution error.
|
See Also