Delen via


UserDefinedFunctionEventSet.Add Method (UserDefinedFunctionEvent)

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

Syntax

'Declaration
Public Function Add ( _
    anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Usage
Dim instance As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet

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