Sdílet prostřednictvím


UserDefinedFunctionEventSet.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 UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Usage
Dim instance As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet

returnValue = instance.Remove(anEvent)
public UserDefinedFunctionEventSet Remove(
    UserDefinedFunctionEvent anEvent
)
public:
UserDefinedFunctionEventSet^ Remove(
    UserDefinedFunctionEvent^ anEvent
)
member Remove : 
        anEvent:UserDefinedFunctionEvent -> UserDefinedFunctionEventSet 
public function Remove(
    anEvent : UserDefinedFunctionEvent
) : UserDefinedFunctionEventSet

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that represents the user-defined function event set.