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 的硬體和軟體需求>。