Поделиться через


Перечисление 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.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SqlEnum (в Microsoft.SqlServer.SqlEnum.dll)

Синтаксис

'Декларация
Public Enumeration ForeignKeyAction
'Применение
Dim instance As ForeignKeyAction
public enum ForeignKeyAction
public enum class ForeignKeyAction
type ForeignKeyAction
public enum ForeignKeyAction

Элементы

Имя элемента Описание
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.

Замечания

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

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo