ViewEventSet.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 ViewEvent _
) As ViewEventSet
'Usage
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

Parameters

Return Value

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