Aracılığıyla paylaş


UserDefinedFunctionEventSet.Add Method (UserDefinedFunctionEvent)

Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.

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

Syntax

'Bildirim
Public Function Add ( _
    anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Kullanım
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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that contains the added UserDefinedFunctionEvent object.

Examples

Handling SMO Events

See Also

Reference

UserDefinedFunctionEventSet Class

Add Overload

Microsoft.SqlServer.Management.Smo Namespace