Construtor ServerTraceEventSet (ServerTraceEvent)
Initializes a new instance of the ServerTraceEventSet class with a specified event.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Exemplos
Consulte também
Referência
Sobrecarregado ServerTraceEventSet
Namespace Microsoft.SqlServer.Management.Smo