DatabaseEventSet DatabaseEventSet DatabaseEventSet Constructors

Definition

Overloads

DatabaseEventSet() DatabaseEventSet() DatabaseEventSet()

Initializes a new instance of the DatabaseEventSet class.

DatabaseEventSet(DatabaseEvent) DatabaseEventSet(DatabaseEvent) DatabaseEventSet(DatabaseEvent)

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

DatabaseEventSet(DatabaseEvent[]) DatabaseEventSet(DatabaseEvent[]) DatabaseEventSet(DatabaseEvent[])

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

DatabaseEventSet(DatabaseEventSet) DatabaseEventSet(DatabaseEventSet) DatabaseEventSet(DatabaseEventSet)

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

DatabaseEventSet() DatabaseEventSet() DatabaseEventSet()

Initializes a new instance of the DatabaseEventSet class.

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

Examples

Handling SMO Events

Remarks

The default constructor initializes any fields to their default values.

DatabaseEventSet(DatabaseEvent) DatabaseEventSet(DatabaseEvent) DatabaseEventSet(DatabaseEvent)

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

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

A DatabaseEvent object that specifies a database event.

Examples

Handling SMO Events

DatabaseEventSet(DatabaseEvent[]) DatabaseEventSet(DatabaseEvent[]) DatabaseEventSet(DatabaseEvent[])

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

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

An array of DatabaseEvent objects that specifies several database events.

Examples

Handling SMO Events

DatabaseEventSet(DatabaseEventSet) DatabaseEventSet(DatabaseEventSet) DatabaseEventSet(DatabaseEventSet)

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

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

A DatabaseEventSet that specifies a set of database events.

Examples

Handling SMO Events

Applies to