Share via


IMutableForeignKeyConstraint.UpdateAction Property

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

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

Syntax

'Declaration
Property UpdateAction As ForeignKeyAction
    Get
    Set
'Usage
Dim instance As IMutableForeignKeyConstraint
Dim value As ForeignKeyAction

value = instance.UpdateAction

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