Share via


IMutableForeignKeyConstraint.DeleteAction Property

Gets or sets 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
Property DeleteAction As ForeignKeyAction
    Get
    Set
'Usage
Dim instance As IMutableForeignKeyConstraint
Dim value As ForeignKeyAction

value = instance.DeleteAction

instance.DeleteAction = value
ForeignKeyAction DeleteAction { get; set; }
property ForeignKeyAction DeleteAction {
    ForeignKeyAction get ();
    void set (ForeignKeyAction value);
}
abstract DeleteAction : ForeignKeyAction with get, set
function get DeleteAction () : ForeignKeyAction
function set DeleteAction (value : 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.

Implements

IForeignKeyConstraint.DeleteAction