Share via


ServerEventSet Constructor (array<ServerEvent )

Initializes a new instance of the ServerEventSet class with specified events.

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

Syntax

'Declaration
Public Sub New ( _
    ParamArray events As ServerEvent() _
)
'Usage
Dim events As ServerEvent()

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

Parameters

Examples

Handling SMO Events

See Also

Reference

ServerEventSet Class

ServerEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace