Partilhar via


InPrimaryKey Property

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The InPrimaryKey property exposes primary key participation for a Microsoft SQL Server column.

Sintaxe

object.InPrimaryKey

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetInPrimaryKey(LPBOOL pRetVal);

Comentários

If TRUE, the referenced column is part of a PRIMARY KEY or UNIQUE key constraint defined on the table.

If FALSE, the referenced column is not part of a PRIMARY KEY or UNIQUE key constraint defined on the table.

Applies To: