Delen via


ObjectEventSet Constructor (array<ObjectEvent )

Initializes a new instance of the ObjectEventSet class with the 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 ObjectEvent() _
)
'Usage
Dim events As ObjectEvent()

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

Parameters

Examples

Handling SMO Events

See Also

Reference

ObjectEventSet Class

ObjectEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace