Delen via


ObjectEventSet.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 ObjectEvent _
) As ObjectEventSet
'Usage
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

Parameters

Return Value

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