Delen via


ForeignKeyConstraintDefinition.DeleteAction Property

Gets or sets the action to be taken at delete.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property DeleteAction As DeleteUpdateAction 
    Get 
    Set
'Usage
Dim instance As ForeignKeyConstraintDefinition 
Dim value As DeleteUpdateAction 

value = instance.DeleteAction

instance.DeleteAction = value
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.SqlServer.TransactSql.ScriptDom.DeleteUpdateAction
The action to be taken at delete.

See Also

Reference

ForeignKeyConstraintDefinition Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace