ServerDdlTriggerEventSet.Add ServerDdlTriggerEventSet.Add ServerDdlTriggerEventSet.Add Method

Definition

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

Overloads

Add(ServerDdlTriggerEvent) Add(ServerDdlTriggerEvent) Add(ServerDdlTriggerEvent)

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

Add(ServerDdlTriggerEventSet, ServerDdlTriggerEvent) Add(ServerDdlTriggerEventSet, ServerDdlTriggerEvent) Add(ServerDdlTriggerEventSet, ServerDdlTriggerEvent)

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

Examples

Handling SMO Events

Add(ServerDdlTriggerEvent) Add(ServerDdlTriggerEvent) Add(ServerDdlTriggerEvent)

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

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

Examples

Handling SMO Events

Add(ServerDdlTriggerEventSet, ServerDdlTriggerEvent) Add(ServerDdlTriggerEventSet, ServerDdlTriggerEvent) Add(ServerDdlTriggerEventSet, ServerDdlTriggerEvent)

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

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

Examples

Handling SMO Events

Applies to