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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft