Share via


ViewEventSet Constructor (ViewEvent)

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

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

Syntax

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

Dim instance As New ViewEventSet(anEvent)
public ViewEventSet(
    ViewEvent anEvent
)
public:
ViewEventSet(
    ViewEvent^ anEvent
)
new : 
        anEvent:ViewEvent -> ViewEventSet
public function ViewEventSet(
    anEvent : ViewEvent
)

Parameters