다음을 통해 공유


DdlTriggerBase 클래스

The DdlTriggerBase is a base class that is inherited by the DatabaseDdlTrigger object. This represents a SQL Server database data definition language (DDL) trigger.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public MustInherit Class DdlTriggerBase _
    Inherits ScriptNameObjectBase _
    Implements ICreatable, IAlterable, IDroppable, IScriptable,  _
    ITextObject
‘사용 방법
Dim instance As DdlTriggerBase
public abstract class DdlTriggerBase : ScriptNameObjectBase, 
    ICreatable, IAlterable, IDroppable, IScriptable, ITextObject
public ref class DdlTriggerBase abstract : public ScriptNameObjectBase, 
    ICreatable, IAlterable, IDroppable, IScriptable, ITextObject
[<AbstractClassAttribute>]
type DdlTriggerBase =  
    class
        inherit ScriptNameObjectBase
        interface ICreatable
        interface IAlterable
        interface IDroppable
        interface IScriptable
        interface ITextObject
    end
public abstract class DdlTriggerBase extends ScriptNameObjectBase implements ICreatable, IAlterable, IDroppable, IScriptable, ITextObject

주의

DDL triggers run a Transact-SQL or user-defined function in response to certain DDL events.

SQL Server Management Objects (SMO) provides programmatic access to allow management of all DDL trigger functionality with the DatabaseDdlTrigger object and the ServerDdlTrigger object.

Database DDL triggers respond to events within the scope of the database and server DDL triggers respond to events within the scope of the SQL Server instance.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.