DatabaseEventSet.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 DatabaseEvent _
) As DatabaseEventSet
'Usage
Dim instance As DatabaseEventSet
Dim anEvent As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = instance.Remove(anEvent)
public DatabaseEventSet Remove(
DatabaseEvent anEvent
)
public:
DatabaseEventSet^ Remove(
DatabaseEvent^ anEvent
)
member Remove :
anEvent:DatabaseEvent -> DatabaseEventSet
public function Remove(
anEvent : DatabaseEvent
) : DatabaseEventSet
Parameters
- anEvent
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the event.
Return Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object that represents the database event set.