TableViewBase.Triggers Property

Represents a collection of Trigger objects. Each Trigger object represents a trigger that is defined on the table or view.

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

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
	typeof(Trigger), SfcObjectFlags.Design)]
public TriggerCollection Triggers { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.TriggerCollection
A TriggerCollection object that represents all the triggers that are defined on the table or view.

Community Additions