SqlAssemblyEventSet SqlAssemblyEventSet SqlAssemblyEventSet Constructors

Definition

Overloads

SqlAssemblyEventSet() SqlAssemblyEventSet() SqlAssemblyEventSet()

Initializes a new instance of the SqlAssemblyEventSet class.

SqlAssemblyEventSet(SqlAssemblyEvent) SqlAssemblyEventSet(SqlAssemblyEvent) SqlAssemblyEventSet(SqlAssemblyEvent)

Initializes a new instance of the SqlAssemblyEventSet class with a specified event.

SqlAssemblyEventSet(SqlAssemblyEvent[]) SqlAssemblyEventSet(SqlAssemblyEvent[]) SqlAssemblyEventSet(SqlAssemblyEvent[])

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

SqlAssemblyEventSet(SqlAssemblyEventSet) SqlAssemblyEventSet(SqlAssemblyEventSet) SqlAssemblyEventSet(SqlAssemblyEventSet)

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

SqlAssemblyEventSet() SqlAssemblyEventSet() SqlAssemblyEventSet()

Initializes a new instance of the SqlAssemblyEventSet class.

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

Examples

Handling SMO Events

Remarks

The default constructor initializes any fields to their default values.

SqlAssemblyEventSet(SqlAssemblyEvent) SqlAssemblyEventSet(SqlAssemblyEvent) SqlAssemblyEventSet(SqlAssemblyEvent)

Initializes a new instance of the SqlAssemblyEventSet class with a specified event.

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

A SqlAssemblyEvent object that specifies an assembly event.

Examples

Handling SMO Events

SqlAssemblyEventSet(SqlAssemblyEvent[]) SqlAssemblyEventSet(SqlAssemblyEvent[]) SqlAssemblyEventSet(SqlAssemblyEvent[])

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

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

An array of SqlAssemblyEvent objects that specifies a list of assembly events.

Examples

Handling SMO Events

SqlAssemblyEventSet(SqlAssemblyEventSet) SqlAssemblyEventSet(SqlAssemblyEventSet) SqlAssemblyEventSet(SqlAssemblyEventSet)

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

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

A SqlAssemblyEventSet that specifies a set of assembly events.

Examples

Handling SMO Events

Applies to