ViewEventSet ViewEventSet ViewEventSet Constructors

Definition

Overloads

ViewEventSet() ViewEventSet() ViewEventSet()

Initializes a new instance of the ViewEventSet class.

ViewEventSet(ViewEvent) ViewEventSet(ViewEvent) ViewEventSet(ViewEvent)

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

ViewEventSet(ViewEvent[]) ViewEventSet(ViewEvent[]) ViewEventSet(ViewEvent[])

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

ViewEventSet(ViewEventSet) ViewEventSet(ViewEventSet) ViewEventSet(ViewEventSet)

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

ViewEventSet() ViewEventSet() ViewEventSet()

Initializes a new instance of the ViewEventSet class.

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

Examples

Handling SMO Events

Remarks

The default constructor initializes any fields to their default values.

ViewEventSet(ViewEvent) ViewEventSet(ViewEvent) ViewEventSet(ViewEvent)

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

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

A ViewEvent object that specifies an view event.

Examples

Handling SMO Events

ViewEventSet(ViewEvent[]) ViewEventSet(ViewEvent[]) ViewEventSet(ViewEvent[])

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

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

An array of ViewEvent object that specifies a list of view events.

Examples

Handling SMO Events

ViewEventSet(ViewEventSet) ViewEventSet(ViewEventSet) ViewEventSet(ViewEventSet)

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

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

A ViewEventSet that specifies a set of view events.

Examples

Handling SMO Events

Applies to