DatabaseDdlTrigger Class
The DatabaseDdlTrigger object represents a Microsoft SQL Server database data definition language (DDL) trigger.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
'Декларация
Public NotInheritable Class DatabaseDdlTrigger
Inherits DdlTriggerBase
Implements IExtendedProperties
public sealed class DatabaseDdlTrigger : DdlTriggerBase, IExtendedProperties
public ref class DatabaseDdlTrigger sealed : public DdlTriggerBase, IExtendedProperties
public final class DatabaseDdlTrigger extends DdlTriggerBase implements IExtendedProperties
public final class DatabaseDdlTrigger extends DdlTriggerBase implements IExtendedProperties
Изменения текста
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.
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
To get DatabaseDdlTrigger object properties, users can be a member of the public fixed server role.
To set DatabaseDdlTrigger object properties, users must have ALTER ANY DATABASE DDL TRIGGER permission on the database.
To create a DDL trigger, users must have ALTER ANY DATABASE DDL TRIGGER permission on the database.
To drop a DDL trigger, users must have ALTER ANY DATABASE DDL TRIGGER permission on the database.
To enable or disable the DDL trigger, users must have ALTER ANY DATABASE DDL TRIGGER permission on the database.
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
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
DatabaseDdlTrigger Members
Microsoft.SqlServer.Management.Smo Namespace