Table.EnumForeignKeys Method
Enumerates a list of primary keys in which the table is referenced as a foreign key.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumForeignKeys As DataTable
'Usage
Dim instance As Table
Dim returnValue As DataTable
returnValue = instance.EnumForeignKeys()
public DataTable EnumForeignKeys()
public:
DataTable^ EnumForeignKeys()
member EnumForeignKeys : unit -> DataTable
public function EnumForeignKeys() : DataTable
Return Value
Type: System.Data.DataTable
A DataTable system object value that contains a list of information about where this table is referenced as a foreign key. The table describes the different columns of the returned DataTable.
See Also