ServerTraceEventSet Constructor (ServerTraceEvent)
Initializes a new instance of the ServerTraceEventSet class with a specified event.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
anEvent As ServerTraceEvent _
)
'Uso
Dim anEvent As ServerTraceEvent
Dim instance As New ServerTraceEventSet(anEvent)
public ServerTraceEventSet(
ServerTraceEvent anEvent
)
public:
ServerTraceEventSet(
ServerTraceEvent^ anEvent
)
new :
anEvent:ServerTraceEvent -> ServerTraceEventSet
public function ServerTraceEventSet(
anEvent : ServerTraceEvent
)
Parámetros
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEvent
A ServerTraceEvent object that specifies a server trace event.
Notas
Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.