Delen via


ObjectEventSet Constructor (ObjectEventSet)

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

Dim instance As New ObjectEventSet(eventSet)
public ObjectEventSet(
    ObjectEventSet eventSet
)
public:
ObjectEventSet(
    ObjectEventSet^ eventSet
)
new : 
        eventSet:ObjectEventSet -> ObjectEventSet
public function ObjectEventSet(
    eventSet : ObjectEventSet
)

Parameters