Export (0) Print
Expand All
Expand Minimize

ForeignKeyAction Enumeration

Specifies the action that is taken when the primary key that is referenced by a foreign key is updated.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public enum ForeignKeyAction

Member nameDescription
CascadeThe modification is also made to the foreign key.
NoActionNo action is taken.
SetDefaultThe foreign key is set to the default value.
SetNullThe foreign key is set to null.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft