Partager via


Constructeur ServerEventSet (ServerEvent[])

Initializes a new instance of the ServerEventSet class with specified 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 ServerEvent() _
)
'Utilisation
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[]
)

Paramètres