Share via


IForeignKeyConstraint.ReferencedTable Property

Gets the ITable object that contains the primary key that is referenced by the foreign key.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property ReferencedTable As ITable
    Get
'Usage
Dim instance As IForeignKeyConstraint
Dim value As ITable

value = instance.ReferencedTable
ITable ReferencedTable { get; }
property ITable^ ReferencedTable {
    ITable^ get ();
}
abstract ReferencedTable : ITable
function get ReferencedTable () : ITable

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ITable
The ITable object that contains the primary key that is referenced by the foreign key.