MetaForeignKeyColumn.IsPrimaryKeyInThisTable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the foreign-key field is part of the primary key of the table.
public:
property bool IsPrimaryKeyInThisTable { bool get(); };
public bool IsPrimaryKeyInThisTable { get; }
member this.IsPrimaryKeyInThisTable : bool
Public ReadOnly Property IsPrimaryKeyInThisTable As Boolean
Property Value
true
if the foreign-key field is part of the primary key of the table; otherwise, false
.
Remarks
Use the IsPrimaryKeyInThisTable property to determine whether the foreign-key field is part of the primary key of the table. This is the table that contains the foreign-key field not the parent table.