QueryResultPacket MethodsA Sandcastle Documented Class Library
The QueryResultPacket type exposes the following members.
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
See Also