ServerDdlTriggerEventSet ServerDdlTriggerEventSet ServerDdlTriggerEventSet Constructors

Definition

Overloads

ServerDdlTriggerEventSet() ServerDdlTriggerEventSet() ServerDdlTriggerEventSet()

Initializes a new instance of the ServerDdlTriggerEventSet class.

ServerDdlTriggerEventSet(ServerDdlTriggerEvent) ServerDdlTriggerEventSet(ServerDdlTriggerEvent) ServerDdlTriggerEventSet(ServerDdlTriggerEvent)

Initializes a new instance of the ServerDdlTriggerEventSet class with the specified event.

ServerDdlTriggerEventSet(ServerDdlTriggerEvent[]) ServerDdlTriggerEventSet(ServerDdlTriggerEvent[]) ServerDdlTriggerEventSet(ServerDdlTriggerEvent[])

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

ServerDdlTriggerEventSet(ServerDdlTriggerEventSet) ServerDdlTriggerEventSet(ServerDdlTriggerEventSet) ServerDdlTriggerEventSet(ServerDdlTriggerEventSet)

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

ServerDdlTriggerEventSet() ServerDdlTriggerEventSet() ServerDdlTriggerEventSet()

Initializes a new instance of the ServerDdlTriggerEventSet class.

public:
 ServerDdlTriggerEventSet();
public ServerDdlTriggerEventSet ();
Public Sub New ()

Examples

Handling SMO Events

Remarks

The default constructor initializes any fields to their default values.

ServerDdlTriggerEventSet(ServerDdlTriggerEvent) ServerDdlTriggerEventSet(ServerDdlTriggerEvent) ServerDdlTriggerEventSet(ServerDdlTriggerEvent)

Initializes a new instance of the ServerDdlTriggerEventSet class with the specified event.

public:
 ServerDdlTriggerEventSet(Microsoft::SqlServer::Management::Smo::ServerDdlTriggerEvent ^ anEvent);
public ServerDdlTriggerEventSet (Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent anEvent);
Public Sub New (anEvent As ServerDdlTriggerEvent)
Parameters
anEvent
ServerDdlTriggerEvent ServerDdlTriggerEvent ServerDdlTriggerEvent

A ServerDdlTriggerEvent object that specifies a data definition language (DDL) server event.

Examples

Handling SMO Events

ServerDdlTriggerEventSet(ServerDdlTriggerEvent[]) ServerDdlTriggerEventSet(ServerDdlTriggerEvent[]) ServerDdlTriggerEventSet(ServerDdlTriggerEvent[])

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

public:
 ServerDdlTriggerEventSet(... cli::array <Microsoft::SqlServer::Management::Smo::ServerDdlTriggerEvent ^> ^ events);
public ServerDdlTriggerEventSet (params Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent[] events);
Public Sub New (ParamArray events As ServerDdlTriggerEvent())
Parameters
events
ServerDdlTriggerEvent[]

An array of ServerDdlTriggerEvent object that specifies several data definition language (DDL) server events.

Examples

Handling SMO Events

ServerDdlTriggerEventSet(ServerDdlTriggerEventSet) ServerDdlTriggerEventSet(ServerDdlTriggerEventSet) ServerDdlTriggerEventSet(ServerDdlTriggerEventSet)

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

public:
 ServerDdlTriggerEventSet(Microsoft::SqlServer::Management::Smo::ServerDdlTriggerEventSet ^ eventSet);
public ServerDdlTriggerEventSet (Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet eventSet);
Public Sub New (eventSet As ServerDdlTriggerEventSet)
Parameters
eventSet
ServerDdlTriggerEventSet ServerDdlTriggerEventSet ServerDdlTriggerEventSet

A ServerDdlTriggerEventSet that specifies a set of data definition language (DDL) server events.

Examples

Handling SMO Events

Applies to