Share via


IDmlTrigger Interface

Represents a SQL Server DML trigger. 

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

Syntax

'Declaration
Public Interface IDmlTrigger _
    Inherits ITrigger, IMetadataObject
'Usage
Dim instance As IDmlTrigger
public interface IDmlTrigger : ITrigger, 
    IMetadataObject
public interface class IDmlTrigger : ITrigger, 
    IMetadataObject
type IDmlTrigger =  
    interface
        interface ITrigger
        interface IMetadataObject
    end
public interface IDmlTrigger extends ITrigger, IMetadataObject

The IDmlTrigger type exposes the following members.

Properties

  Name Description
Public property BodyText Gets the Transact-SQL statements that define the module. (Inherited from ITrigger.)
Public property Delete Gets a value that indicates whether the DML trigger activates on a DELETE statement.
Public property ExecutionContext Gets an IExecutionContext object that specifies the module execution context. (Inherited from ITrigger.)
Public property Insert Gets a value that indicates whether the DML trigger activates on an INSERT statement.
Public property InsteadOf Gets a value that indicates whether the DML trigger executes instead of the triggering Transact-SQL statement.
Public property IsEncrypted Gets a value that indicates whether the module is encrypted. (Inherited from ITrigger.)
Public property IsQuotedIdentifierOn Gets a value that indicates whether the quoted identifier option is on.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property NotForReplication Gets a value that indicates whether the DML trigger is available for replication.
Public property Parent Gets the ITableViewBase object that is the parent of this object.
Public property Update Gets a value that indicates whether the DML trigger activates on an UPDATE statement.

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top