Compartilhar via


Construtor ServerEventSet (ServerEvent[])

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

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

Sintaxe

'Declaração
Public Sub New ( _
    ParamArray events As ServerEvent() _
)
'Uso
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[]
)

Parâmetros