Share via


StoredProcedureEventSet Constructor (array<StoredProcedureEvent[])

Initializes a new instance of the StoredProcedureEventSet 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 StoredProcedureEvent() _
)
'Usage
Dim events As StoredProcedureEvent()

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

Parameters