Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Enumerates a list of foreign keys that reference the column.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function EnumForeignKeys As DataTable
'Utilisation
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
Valeur de retour
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 |
The name of the column. |
|
Table_Schema |
The schema that is associated with the table that contains the column. |
|
Table_Name |
The name of the table that contains the column. |
|
Name |
The name of the foreign key. |
Exemples
Utilisation des objets de base de données