Share via


ServerDdlTriggerEventSet Constructor (array<ServerDdlTriggerEvent )

Initializes a new instance of the ServerDdlTriggerEventSet class with the specified set of events.

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

Syntax

'Declaration
Public Sub New ( _
    ParamArray events As ServerDdlTriggerEvent() _
)
'Usage
Dim events As ServerDdlTriggerEvent()

Dim instance As New ServerDdlTriggerEventSet(events)
public ServerDdlTriggerEventSet(
    params ServerDdlTriggerEvent[] events
)
public:
ServerDdlTriggerEventSet(
    ... array<ServerDdlTriggerEvent^>^ events
)
new : 
        events:ServerDdlTriggerEvent[] -> ServerDdlTriggerEventSet
public function ServerDdlTriggerEventSet(
    ... events : ServerDdlTriggerEvent[]
)

Parameters

Examples

Handling SMO Events

See Also

Reference

ServerDdlTriggerEventSet Class

ServerDdlTriggerEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DDL Event Groups