ServerTraceEventSet Constructor (ServerTraceEvent[])
Initializes a new instance of the ServerTraceEventSet class with the specified set of events.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
- events
Tipo: array<Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEvent> [] () [] []
An array of ServerTraceEvent objects that specifies several server trace events.
Notas
Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.