Partager via


Énumération ForeignKeyAction

The ForeignKeyAction enumeration is a list of constant values that specify the action that is taken when the primary key reference by a foreign key is updated.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
Public Enumeration ForeignKeyAction
'Utilisation
Dim instance As ForeignKeyAction
public enum ForeignKeyAction
public enum class ForeignKeyAction
type ForeignKeyAction
public enum ForeignKeyAction

Membres

Nom de membre Description
Cascade The modification is also made to the foreign key.
NoAction No action is taken.
SetDefault The foreign key is set to the default value.
SetNull The foreign key is set to null.

Notes

The ForeignKeyAction enumeration class is served by the UpdateAction property and the DeleteAction property.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo