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

returnValue = instance.Remove(anEvent)
public ServiceQueueEventSet Remove(
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet^ Remove(
    ServiceQueueEvent^ anEvent
)
member Remove : 
        anEvent:ServiceQueueEvent -> ServiceQueueEventSet 
public function Remove(
    anEvent : ServiceQueueEvent
) : ServiceQueueEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object that represents the service queue event set.