Dela via


DatabaseDdlTriggerEventSet.Remove Method

Removes an event from the event set.

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

Syntax

'Declaration
Public Function Remove ( _
    anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Usage
Dim instance As DatabaseDdlTriggerEventSet
Dim anEvent As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet

returnValue = instance.Remove(anEvent)
public DatabaseDdlTriggerEventSet Remove(
    DatabaseDdlTriggerEvent anEvent
)
public:
DatabaseDdlTriggerEventSet^ Remove(
    DatabaseDdlTriggerEvent^ anEvent
)
member Remove : 
        anEvent:DatabaseDdlTriggerEvent -> DatabaseDdlTriggerEventSet 
public function Remove(
    anEvent : DatabaseDdlTriggerEvent
) : DatabaseDdlTriggerEventSet

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object that represents the database data definition language (DDL) trigger event set.