Propriété TableViewBase.Triggers
Represents a collection of Trigger objects. Each Trigger object represents a trigger that is defined on the table or view.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Trigger), SfcObjectFlags.Design)> _
Public ReadOnly Property Triggers As TriggerCollection
Get
'Utilisation
Dim instance As TableViewBase
Dim value As TriggerCollection
value = instance.Triggers
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Trigger), SfcObjectFlags.Design)]
public TriggerCollection Triggers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Trigger), SfcObjectFlags::Design)]
public:
property TriggerCollection^ Triggers {
TriggerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Trigger), SfcObjectFlags.Design)>]
member Triggers : TriggerCollection
function get Triggers () : TriggerCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.TriggerCollection
A TriggerCollection object that represents all the triggers that are defined on the table or view.
Exemples
Utilisation des objets de base de données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo