TableViewBase.Triggers Property
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Trigger))> _
Public ReadOnly Property Triggers As TriggerCollection
Get
'Usage
Dim instance As TableViewBase
Dim value As TriggerCollection
value = instance.Triggers
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Trigger))]
public TriggerCollection Triggers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Trigger))]
public:
property TriggerCollection^ Triggers {
TriggerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Trigger))>]
member Triggers : TriggerCollection
function get Triggers () : TriggerCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.TriggerCollection
A TriggerCollection object that represents all the triggers that are defined on the table or view.
See Also