Partilhar via


Método ViewEventSet.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 ViewEvent _
) As ViewEventSet
'Uso
Dim instance As ViewEventSet 
Dim anEvent As ViewEvent 
Dim returnValue As ViewEventSet 

returnValue = instance.Remove(anEvent)
public ViewEventSet Remove(
    ViewEvent anEvent
)
public:
ViewEventSet^ Remove(
    ViewEvent^ anEvent
)
member Remove : 
        anEvent:ViewEvent -> ViewEventSet
public function Remove(
    anEvent : ViewEvent
) : ViewEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that represents the view event set.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

ViewEventSet Classe

Namespace Microsoft.SqlServer.Management.Smo