Share via


ServiceQueueEventSet.Remove Method

Removes an event from the event set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function Remove ( _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Usage
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

Parameters

Return Value

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

Examples

Handling SMO Events

See Also

Reference

ServiceQueueEventSet Class

Microsoft.SqlServer.Management.Smo Namespace