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 (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
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.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .ScriptNameObjectBase
Microsoft.SqlServer.Management.Smo..::..DdlTriggerBase
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTrigger
Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTrigger
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。