SQLServer.Database.Table Object
Lists the tables that are referenced by they keys of this Table. List is returned in a QueryResults object.
QueryResults = Table.EnumReferencedTables ( [[IncludeAllCandidates :=] bIncludeCandidates] )
HRESULT pTable->EnumReferencedTables (
LPSQLOLEQUERYRESULTS* ppQueryResults,
BOOL bIncludeCandidates = NULL );
Element | Type | Description |
---|
QueryResults | QueryResults | Returned QueryResults object |
bIncludeCandidates | Boolean | Determines if all possible candidate tables are included in the list, even those not referenced. If True, candidate tables are included. If False, candidate tables are not included. |
ColumnName | ColumnType |
---|
candidate_table | SQLOLE_DTypeChar |
candidate_key | SQLOLE_DTypeChar |
referenced | SQLOLE_DTypeBit |
The returned QueryResults contains a column indicating if a key is referenced.