TableViewBase.Triggers TableViewBase.Triggers TableViewBase.Triggers Property

Definition

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

public:
 property Microsoft::SqlServer::Management::Smo::TriggerCollection ^ Triggers { Microsoft::SqlServer::Management::Smo::TriggerCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ChildContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.Trigger), Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags.Design)]
public Microsoft.SqlServer.Management.Smo.TriggerCollection Triggers { get; }
Public ReadOnly Property Triggers As TriggerCollection
Property Value

A TriggerCollection object that represents all the triggers that are defined on the table or view.

Examples

Working with Database Objects

Applies to