Partilhar 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 DatabaseEvent _
) As DatabaseEventSet
'Uso
Dim instance As DatabaseEventSet
Dim anEvent As DatabaseEvent
Dim returnValue As DatabaseEventSet

returnValue = instance.Remove(anEvent)
public DatabaseEventSet Remove(
    DatabaseEvent anEvent
)
public:
DatabaseEventSet^ Remove(
    DatabaseEvent^ anEvent
)
member Remove : 
        anEvent:DatabaseEvent -> DatabaseEventSet 
public function Remove(
    anEvent : DatabaseEvent
) : DatabaseEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that represents the database event set.