Share via


ForeignKeyAction Enumeration

The ForeignKeyAction enumeration is a list of constant values that specify the action taken when the primary key reference by a foreign key is updated.

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

구문

‘선언
Public Enumeration ForeignKeyAction
public enum ForeignKeyAction
public enum class ForeignKeyAction
public enum ForeignKeyAction
public enum ForeignKeyAction

Members

Member name Description
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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.SqlServer.Management.Smo Namespace