Freigeben über


ServerEventSet-Konstruktor (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[]
)

Parameter