DatabaseEvent.Add(DatabaseEvent, DatabaseEvent) DatabaseEvent.Add(DatabaseEvent, DatabaseEvent) DatabaseEvent.Add(DatabaseEvent, DatabaseEvent) Method

Definition

Returns the database event set that was created by adding two database events together.

public:
 static Microsoft::SqlServer::Management::Smo::DatabaseEventSet ^ Add(Microsoft::SqlServer::Management::Smo::DatabaseEvent ^ eventLeft, Microsoft::SqlServer::Management::Smo::DatabaseEvent ^ eventRight);
public static Microsoft.SqlServer.Management.Smo.DatabaseEventSet Add (Microsoft.SqlServer.Management.Smo.DatabaseEvent eventLeft, Microsoft.SqlServer.Management.Smo.DatabaseEvent eventRight);
Public Shared Function Add (eventLeft As DatabaseEvent, eventRight As DatabaseEvent) As DatabaseEventSet
Parameters
eventLeft
DatabaseEvent DatabaseEvent DatabaseEvent

A DatabaseEvent object that specifies one database event.

eventRight
DatabaseEvent DatabaseEvent DatabaseEvent

A DatabaseEvent object that specifies the other database event.

Returns

A DatabaseEventSet object value that specifies a set of database events that are created by adding two database events.

Examples

Handling SMO Events

Applies to