Partager via


Constructeur DatabaseEventSet (DatabaseEvent[])

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    ParamArray events As DatabaseEvent() _
)
'Utilisation
Dim events As DatabaseEvent()

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

Paramètres