Partilhar via


Método Column.EnumForeignKeys

Enumerates a list of foreign keys that reference the column.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function EnumForeignKeys As DataTable
'Uso
Dim instance As Column 
Dim returnValue As DataTable 

returnValue = instance.EnumForeignKeys()
public DataTable EnumForeignKeys()
public:
DataTable^ EnumForeignKeys()
member EnumForeignKeys : unit -> DataTable
public function EnumForeignKeys() : DataTable

Valor de retorno

Tipo: 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.

Exemplos

Trabalhando com objetos de banco de dados

Consulte também

Referência

Column Classe

Namespace Microsoft.SqlServer.Management.Smo