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 ObjectEvent _
) As ObjectEventSet
'Uso
Dim instance As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet

returnValue = instance.Remove(anEvent)
public ObjectEventSet Remove(
    ObjectEvent anEvent
)
public:
ObjectEventSet^ Remove(
    ObjectEvent^ anEvent
)
member Remove : 
        anEvent:ObjectEvent -> ObjectEventSet 
public function Remove(
    anEvent : ObjectEvent
) : ObjectEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that represents the object event set.