Share via


ViewEventSet Constructor (array<ViewEvent )

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

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

Syntax

'Declaration
Public Sub New ( _
    ParamArray events As ViewEvent() _
)
'Usage
Dim events As ViewEvent()

Dim instance As New ViewEventSet(events)
public ViewEventSet(
    params ViewEvent[] events
)
public:
ViewEventSet(
    ... array<ViewEvent^>^ events
)
new : 
        events:ViewEvent[] -> ViewEventSet
public function ViewEventSet(
    ... events : ViewEvent[]
)

Parameters

Examples

Handling SMO Events

See Also

Reference

ViewEventSet Class

ViewEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace