The QueryResults object presents tabular data to the SQL-DMO application. SQL-DMO enumeration methods, such as the EnumLocks method of the Database object, return a QueryResults object to report their data. SQL-DMO statement execution methods, such as the ExecuteWithResults method of Database and SQLServer objects, also return a QueryResults object.
The QueryResults object is a reporting tool. All properties of the QueryResults object are read-only. With the QueryResults object, you can:
ColumnMaxLength Property | CurrentResultSet Property |
ColumnName Property | ResultSets Property |
Columns Property | Rows Property |
ColumnType Property |