Partilhar via


Construtor ViewEventSet (array<ViewEvent )

Initializes a new instance of the ViewEventSet class with a specified set of events.

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

Sintaxe

'Declaração
Public Sub New ( _
    ParamArray events As ViewEvent() _
)
'Uso
Dim events As ViewEvent()

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

Parâmetros

Exemplos

Manipulando eventos SMO

Consulte também

Referência

ViewEventSet Classe

Sobrecarregado ViewEventSet

Namespace Microsoft.SqlServer.Management.Smo