Table.HasDeleteTrigger Property
Gets the Boolean property value that specifies whether the table has a delete trigger.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property HasDeleteTrigger As Boolean
Get
'Usage
Dim instance As Table
Dim value As Boolean
value = instance.HasDeleteTrigger
[SfcPropertyAttribute]
public bool HasDeleteTrigger { get; }
[SfcPropertyAttribute]
public:
property bool HasDeleteTrigger {
bool get ();
}
[<SfcPropertyAttribute>]
member HasDeleteTrigger : bool
function get HasDeleteTrigger () : boolean
Property Value
Type: System.Boolean
A Boolean value that specifies whether there are any delete triggers defined on the table.
If True, there is a delete trigger defined on the table. Otherwise, False (default).
Remarks
A delete trigger executes when a row of data is deleted.
See Also