Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseEventSet Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the DatabaseEventSet class.

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

NameDescription
System_CAPS_pubmethodDatabaseEventSet()

Initializes a new instance of the DatabaseEventSet class.

System_CAPS_pubmethodDatabaseEventSet(DatabaseEvent)

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

System_CAPS_pubmethodDatabaseEventSet(DatabaseEvent[])

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

System_CAPS_pubmethodDatabaseEventSet(DatabaseEventSet)

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

Return to top

DatabaseEventSet Constructor ()

Initializes a new instance of the DatabaseEventSet class.

public DatabaseEventSet()

The default constructor initializes any fields to their default values.

Legacy Code Example

Return to top

DatabaseEventSet Constructor (DatabaseEvent)

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

public DatabaseEventSet(
	DatabaseEvent anEvent
)

Parameters

anEvent
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent

A DatabaseEvent object that specifies a database event.

Legacy Code Example

Return to top

DatabaseEventSet Constructor (DatabaseEvent[])

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

public DatabaseEventSet(
	params DatabaseEvent[] events
)

Parameters

events
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent[]

An array of DatabaseEvent objects that specifies several database events.

Legacy Code Example

Return to top

DatabaseEventSet Constructor (DatabaseEventSet)

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

public DatabaseEventSet(
	DatabaseEventSet eventSet
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet

A DatabaseEventSet that specifies a set of database events.

Legacy Code Example

Return to top
Show:
© 2015 Microsoft