Sdílet prostřednictvím


Table.HasUpdateTrigger Property

Gets the Boolean property value that specifies whether the table has an update trigger.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property HasUpdateTrigger As Boolean
    Get
'Usage
Dim instance As Table
Dim value As Boolean

value = instance.HasUpdateTrigger
[SfcPropertyAttribute]
public bool HasUpdateTrigger { get; }
[SfcPropertyAttribute]
public:
property bool HasUpdateTrigger {
    bool get ();
}
[<SfcPropertyAttribute>]
member HasUpdateTrigger : bool
function get HasUpdateTrigger () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether there is an update trigger defined on the table.
If True, there is an update trigger defined on the table. Otherwise, False (default).

Remarks

An update trigger executes when a row of data is updated.