Share via


ForeignKeyConstraint.DeleteAction Property

Gets or sets the action to be taken at delete.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property DeleteAction As DeleteUpdateAction
public DeleteUpdateAction DeleteAction { get; set; }
public:
property DeleteUpdateAction DeleteAction {
    DeleteUpdateAction get ();
    void set (DeleteUpdateAction value);
}
member DeleteAction : DeleteUpdateAction with get, set
function get DeleteAction () : DeleteUpdateAction
function set DeleteAction (value : DeleteUpdateAction)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.DeleteUpdateAction
Returns a DeleteUpdateAction enumeration value.

.NET Framework Security

See Also

Reference

ForeignKeyConstraint Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace