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

成员

成员名称 说明
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.

注释

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