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
- events
Type: array<Microsoft.SqlServer.Management.Smo.ObjectEvent[]
An array of ObjectEvent object that specifies several object events.