DatabaseDdlTriggerEventSet.Add Method (DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public static DatabaseDdlTriggerEventSet Add(
	DatabaseDdlTriggerEventSet eventSet,
	DatabaseDdlTriggerEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet

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

anEvent
Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent

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

Return to top
Show: