Share via


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.