다음을 통해 공유


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.