ForeignKeyAction Enumeración
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.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Sintaxis
'Declaración
Public Enumeration ForeignKeyAction
'Uso
Dim instance As ForeignKeyAction
public enum ForeignKeyAction
public enum class ForeignKeyAction
type ForeignKeyAction
public enum ForeignKeyAction
Miembros
| Nombre del miembro | Descripción | |
|---|---|---|
| NoAction | No action is taken. | |
| Cascade | The modification is also made to the foreign key. | |
| SetNull | The foreign key is set to null. | |
| SetDefault | The foreign key is set to the default value. |
Notas
The ForeignKeyAction enumeration class is served by the UpdateAction property and the DeleteAction property.