DatabaseDdlTrigger Class

The DatabaseDdlTrigger object represents a Microsoft SQL Server database data definition language (DDL) trigger.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public sealed class DatabaseDdlTrigger : DdlTriggerBase, IExtendedProperties
public final class DatabaseDdlTrigger extends DdlTriggerBase implements IExtendedProperties
public final class DatabaseDdlTrigger extends DdlTriggerBase implements IExtendedProperties

Aktualisierter Text:

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.

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

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.


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.

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Community-Beiträge

HINZUFÜGEN
Anzeigen: