Compartilhar via


Método Remove

Removes an event from the event set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function Remove ( _
    anEvent As ServerTraceEvent _
) As ServerTraceEventSet
'Uso
Dim instance As ServerTraceEventSet
Dim anEvent As ServerTraceEvent
Dim returnValue As ServerTraceEventSet

returnValue = instance.Remove(anEvent)
public ServerTraceEventSet Remove(
    ServerTraceEvent anEvent
)
public:
ServerTraceEventSet^ Remove(
    ServerTraceEvent^ anEvent
)
member Remove : 
        anEvent:ServerTraceEvent -> ServerTraceEventSet 
public function Remove(
    anEvent : ServerTraceEvent
) : ServerTraceEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerTraceEventSet object that represents the server trace event set.

Comentários

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