The EnumObjects method returns a QueryResults object enumerating the system and user-defined tables, indexes, and statistics mechanisms stored within a filegroup.
object.EnumObjects() as QueryResults
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
A QueryResults object containing one result set defined by this column.
Column | Data type | Description |
---|---|---|
name | nchar(129) | Name of the stored object |
HRESULT EnumObjects(
LPSQLDMOQUERYRESULTS* ppResults);