ForeignKey.Script Method
Generates a Transact-SQL script that can be used to re-create the foreign key.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Liste de surcharge
Nom | Description |
---|---|
ForeignKey.Script () |
Generates a Transact-SQL script that can be used to re-create the foreign key.
|
ForeignKey.Script (ScriptingOptions) |
Generates a Transact-SQL script that can be used to re-create the foreign key as specified by the script options.
|
Voir aussi
Référence
ForeignKey Class
ForeignKey Members
Microsoft.SqlServer.Management.Smo Namespace
Autres ressources
Creating, Altering, and Removing Foreign Keys
Création et modification des contraintes FOREIGN KEY
CREATE TABLE (Transact-SQL)