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