QueryResultPacket MembersA Sandcastle Documented Class Library

The QueryResultPacket type exposes the following members.
Constructors

  NameDescription
Public methodQueryResultPacket
Generic constructor.
Back to Top
Methods

  NameDescription
Public methodGetData
Returns the query result data.
Public methodGetHasError
Returns true if an error occured.
Public methodGetMessage
Returns the message if an error occured.
Public methodGetQueryTimeInSeconds
Returns the query execution time in seconds.
Public methodGetSql
Returns the SQL query that was attempted to be executed.
Public methodGetStackTrace
Returns the stack trace if an error occured.
Public methodSetData
Sets the query result data.
Public methodSetHasError
Sets the boolean indicator if an SQL execution error occured.
Public methodSetMessage
Sets the message if an error occured.
Public methodSetQueryTimeInSeconds
Sets the query execution time in seconds.
Public methodSetSql
Sets the Sql variable of this class.
Public methodSetStackTrace
Sets the stack trace if an error occured.
Public methodToString
Provides a string representation of this QueryResultPacket object.
(Overrides Object ToString .)
Back to Top
Fields

  NameDescription
Private fielddata
The returned data set for the given query execution. Null if there was a query execution error.
Private fielderror
Returns true if there was an error executing a query.
Private fieldmessage
Database server message if there was a query execution error.
Private fieldqueryTime
Time it took to execute the query.
Private fieldsql
Sql of the query that was executed.
Private fieldstacktrace
Stack trace of the query execution error.
Back to Top
See Also