Compartilhar via


Construtor ServerTraceEventSet (ServerTraceEvent[])

Initializes a new instance of the ServerTraceEventSet class with the 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 ServerTraceEvent() _
)
'Uso
Dim events As ServerTraceEvent()

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

Parâmetros

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.