Share via


IForeignKeyConstraint.DeleteAction Property

Gets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is deleted.

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

Syntax

'Declaration
ReadOnly Property DeleteAction As ForeignKeyAction
    Get
'Usage
Dim instance As IForeignKeyConstraint
Dim value As ForeignKeyAction

value = instance.DeleteAction
ForeignKeyAction DeleteAction { get; }
property ForeignKeyAction DeleteAction {
    ForeignKeyAction get ();
}
abstract DeleteAction : ForeignKeyAction
function get DeleteAction () : ForeignKeyAction

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ForeignKeyAction
A ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is deleted.