ServerDdlTriggerEvent.Add Method (ServerDdlTriggerEvent, ServerDdlTriggerEvent)

 

Returns a Server DDL trigger event set after adding an SQL DLL trigger event to the event set.

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

public static ServerDdlTriggerEventSet Add(
	ServerDdlTriggerEvent eventLeft,
	ServerDdlTriggerEvent eventRight
)

Parameters

eventLeft
Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent

A ServerDdlTriggerEvent object that specifies the server data definition language (DDL) events.

eventRight
Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent

A ServerDdlTriggerEvent object that specifies the server DDL events.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet

A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events after the event is added.

Return to top
Show: