Share via


IDatabaseDdlTrigger Interface

Represents a database DDL trigger.

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

Syntax

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

The IDatabaseDdlTrigger 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 Database Gets the IDatabase object that owns this object. (Inherited from IDatabaseOwnedObject.)
Public property DatabaseDdlEvents Gets a set of database DDL event types.
Public property ExecutionContext Gets an IExecutionContext object that specifies the module execution context. (Inherited from ITrigger.)
Public property IsEnabled Gets a value that indicates whether the module is enabled. (Inherited from ITrigger.)
Public property IsEncrypted Gets a value that indicates whether the module is encrypted. (Inherited from ITrigger.)
Public property IsQuotedIdentifierOn Gets a Boolean value that indicates if the quoted identifier option is set.
Public property IsSqlClr Gets a value that indicates whether the module is a CLR module. (Inherited from ITrigger.)
Public property IsSystemObject Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)

Top

Methods

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

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace