Share via


IDatabase.Triggers Property

Gets a collection of all triggers in the database.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Triggers As IMetadataCollection(Of IDatabaseDdlTrigger)
    Get
'Usage
Dim instance As IDatabase
Dim value As IMetadataCollection(Of IDatabaseDdlTrigger)

value = instance.Triggers
IMetadataCollection<IDatabaseDdlTrigger> Triggers { get; }
property IMetadataCollection<IDatabaseDdlTrigger^>^ Triggers {
    IMetadataCollection<IDatabaseDdlTrigger^>^ get ();
}
abstract Triggers : IMetadataCollection<IDatabaseDdlTrigger>
function get Triggers () : IMetadataCollection<IDatabaseDdlTrigger>