Partager via


Méthode Remove

Removes an event from the event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function Remove ( _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Utilisation
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

Paramètres

Valeur de retour

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