EnumCandidateKeys List

SQLServer.Database Object

Description

Lists all available primary keys in the database. List is returned in a QueryResults object.

Visual Basic

QueryResults = Database.EnumCandidateKeys

C++

HRESULT pDatabase->EnumCandidateKeys ( LPSQLOLEQUERYRESULTS* ppQueryResults );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object

QueryResults

ColumnName ColumnType

candidate_table SQLOLE_DTypeChar
candidate_key SQLOLE_DTypeChar