Jaa


DatabaseDdlTrigger.DdlTriggerEvents Property

Gets or sets the set of data definition language (DDL) events that raise the database DDL trigger.

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

Syntax

'Declaration
Public Property DdlTriggerEvents As DatabaseDdlTriggerEventSet
public DatabaseDdlTriggerEventSet DdlTriggerEvents { get; set; }
public:
property DatabaseDdlTriggerEventSet^ DdlTriggerEvents {
    DatabaseDdlTriggerEventSet^ get ();
    void set (DatabaseDdlTriggerEventSet^ value);
}
/** @property */
public DatabaseDdlTriggerEventSet get_DdlTriggerEvents ()

/** @property */
public void set_DdlTriggerEvents (DatabaseDdlTriggerEventSet value)
public function get DdlTriggerEvents () : DatabaseDdlTriggerEventSet

public function set DdlTriggerEvents (value : DatabaseDdlTriggerEventSet)

Property Value

A DatabaseDdlTriggerEventSet object that specifies the events that raise the database DDL trigger.

Remarks

When the DatabaseDdlTrigger object is constructed, an instance of DatabaseDdlTriggerEventSet object is also created.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Get and Set a Property in Visual Basic .NET

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DatabaseDdlTrigger Class
DatabaseDdlTrigger Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE TRIGGER (Transact-SQL)
DDL Triggers