The ListKeys method returns a SQLObjectList object that enumerates the PRIMARY KEY and FOREIGN KEY constraints in which a column participates.
object.ListKeys( ) as SQLObjectList
object
Expression that evaluates to an object in the Applies To list
HRESULT ListKeys(
LPSQLDMOKEYLIST* ppList);
A SQLObjectList object that contains 0 or more Key objects.