Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The ListKeys method returns a SQLObjectList object that enumerates the PRIMARY KEY and FOREIGN KEY constraints in which a column participates.
Syntax
object
.ListKeys(
)
as
SQLObjectList
Parts
- object
Expression that evaluates to an object in the Applies To list.
Prototype (C/C++)
HRESULT ListKeys(
LPSQLDMOKEYLIST* ppList);
Returns
A SQLObjectList object that contains 0 or more Key objects.