Dela via


ObjectEventSet Constructor (ObjectEvent)

Initializes a new instance of the ObjectEventSet class with the specified set of event.

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

Syntax

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

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

Parameters