Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Column.EnumForeignKeys Method

Enumerates a list of foreign keys that reference the column.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public DataTable EnumForeignKeys()

Return Value

Type: System.Data.DataTable
A DataTable object value that contains information about the foreign keys that reference the column. The table describes the different columns of the returned DataTable.

Column

Data type

Description

Column

String

The name of the column.

Table_Schema

String

The schema that is associated with the table that contains the column.

Table_Name

String

The name of the table that contains the column.

Name

String

The name of the foreign key.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.