Share via


ITrigger Interface

Represents a SQL Server trigger.

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

Syntax

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

The ITrigger type exposes the following members.

Properties

  Name Description
Public property BodyText Gets the Transact-SQL statements that define the module.
Public property ExecutionContext Gets an IExecutionContext object that specifies the module execution context.
Public property IsEnabled Gets a value that indicates whether the module is enabled.
Public property IsEncrypted Gets a value that indicates whether the module is encrypted.
Public property IsSqlClr Gets a value that indicates whether the module is a CLR module.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)

Top

Methods

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

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace