Condividi tramite


Enumerazione ForeignKeyAction

Specifies the action that is taken when the primary key that is referenced by a foreign key is updated.

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
Public Enumeration ForeignKeyAction
'Utilizzo
Dim instance As ForeignKeyAction
public enum ForeignKeyAction
public enum class ForeignKeyAction
type ForeignKeyAction
public enum ForeignKeyAction

Membri

Nome membro Descrizione
NoAction No action is taken.
Cascade The modification is also made to the foreign key.
SetDefault The foreign key is set to the default value.
SetNull The foreign key is set to null.