Condividi tramite


Classe TriggerCollection

The TriggerCollection class represents a collection of Trigger objects that represent all the triggers defined on a table.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Class TriggerCollection _
    Inherits SimpleObjectCollectionBase
'Utilizzo
Dim instance As TriggerCollection
public class TriggerCollection : SimpleObjectCollectionBase
public ref class TriggerCollection : public SimpleObjectCollectionBase
type TriggerCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public class TriggerCollection extends SimpleObjectCollectionBase

Osservazioni

A TriggerCollection object can be used to gain access to a set of triggers. You can use the Item property to return a specific Trigger object.

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.