DatabaseDdlTriggerEventSet.Add DatabaseDdlTriggerEventSet.Add DatabaseDdlTriggerEventSet.Add Method

Definition

Returns a set of database DDL trigger events after adding a new event to the event set.

Overloads

Add(DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEvent)

Returns a set of database DDL trigger events after adding a new event to the event referenced set.

Add(DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)

Returns a set of database DDL trigger events after adding a new event to the event specified set.

Examples

Handling SMO Events

Add(DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEvent)

Returns a set of database DDL trigger events after adding a new event to the event referenced set.

public:
 Microsoft::SqlServer::Management::Smo::DatabaseDdlTriggerEventSet ^ Add(Microsoft::SqlServer::Management::Smo::DatabaseDdlTriggerEvent ^ anEvent);
public Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet Add (Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent anEvent);
Public Function Add (anEvent As DatabaseDdlTriggerEvent) As DatabaseDdlTriggerEventSet
Parameters
Returns

Examples

Handling SMO Events

Add(DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent) Add(DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)

Returns a set of database DDL trigger events after adding a new event to the event specified set.

public:
 static Microsoft::SqlServer::Management::Smo::DatabaseDdlTriggerEventSet ^ Add(Microsoft::SqlServer::Management::Smo::DatabaseDdlTriggerEventSet ^ eventSet, Microsoft::SqlServer::Management::Smo::DatabaseDdlTriggerEvent ^ anEvent);
public static Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet Add (Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet eventSet, Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent anEvent);
Public Shared Function Add (eventSet As DatabaseDdlTriggerEventSet, anEvent As DatabaseDdlTriggerEvent) As DatabaseDdlTriggerEventSet
Parameters
eventSet
DatabaseDdlTriggerEventSet DatabaseDdlTriggerEventSet DatabaseDdlTriggerEventSet

A DatabaseDdlTriggerEventSet object that specifies the set of events to which the new event is added.

anEvent
DatabaseDdlTriggerEvent DatabaseDdlTriggerEvent DatabaseDdlTriggerEvent

A DatabaseDdlTriggerEvent object that specifies the event which is added to the event set

Returns

Examples

Handling SMO Events

Applies to